I can no longer use / at the windows xp command prompt, and it seems to have started after a botched cygwin installation, e.g. cd /windows won't work, but used to.
Can anyone think of how this might have happened?
OOPS! It doesn't normally work in XP, though I had read that it does in Vista. I simplified my problem and it was wrong. Th...
I'm storing URLs in a database, and I want to be able to know if two URLs are identical.
Generally, a trailing slash at the end doesn't change the response you'd get from a server. (ie. http://www.google.com/ is the same as http://www.google.com)
Can I always blindly remove the trailing slash from any URL, without looking at anything?
I...
Update:
I can make this a simpler problem to solve:
I want to figure out what the correct regex would be to substitute any single occurrence of a back slash with two back slashes.
I want to turn this:
vlc.plugin.path = C:\Program Files\JekyllV0.9.2\\VLC_1.0.0\\plugins
into:
vlc.plugin.path = C:\\Program Files\\JekyllV0.9.2\\VLC_1....
I have a site that treats "/" and "%2F" in the path portion (not the query string) of a URL differently. Is this a bad thing to do according to either the RFC or the real world?
I ask because I keep running into little surprises with the web framework I'm using (Ruby on Rails) as well as the layers below that (Passenger, Apache, e.g., ...
I have a java servlet that needs to write out files that have a user-configurable name. I am trying to use URI encoding to properly escape special characters, but the JRE appears to automatically convert encoded forward slashes %2F into path separators.
Example:
File dir = new File("C:\Documents and Setting\username\temp");
String f...
Hi, I'm using a htmlhelper where i give table data id's based on day and month values which are retrieved. The problem is the id is not recognized in the format it is. / seems to not be picked up yet when i replace '/' with '-' it works.
daysRow.AppendFormat("<td id='{0}/{1}'>{0}</td>", day, d1.Month.ToString());
can anyone tell me h...
I am very sorry if this question has been asked before, I have searched but I am still quite unsure.
With regards to the forward slash "/" when giving a RegEx to RewriteRule or RewriteCond, or anything else related to .htaccess in particular, is there a need to escape the forward slash?
Here is an example of what I am trying to achieve...
i'm trying to allow forward slash to be entered in my input text field
myInputField.restrict = "A-Za-z.\\-\\/";
the above text field should allow upper case letters, lower case letters, periods, hyphens and forward slashes. however, i can't seem to permit the forward slash.
...
Hello guys and girls
Been working on a ASP.NET MVC 2 solution for some time now and today I decided to test in in the IIS7 so I could put in on a company server for my colleagues to play with.
However I got quite a surprise when I hosted it. I started to get Javascript errors in code that worked while running it locally in my VS2010.
...