kiss9815 / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

404 error when loading a file in a folder that ends with a backslash #313

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy an html file inside a folder ending with a backslash. For example, if I 
copy "ab.html" to
"/Users/mihait/Desktop/backslash_test/foo\/", the path to the file will be:

"/Users/mihait/Desktop/backslash_test/foo\/ab.html"

2. start mongoose with no parameters

3. load in a browser( I used Chrome ) the following URL:

"http://127.0.0.1:8080//Users/mihait/Desktop/backslash_test/foo%5C/ab.html"

What is the expected output? What do you see instead?
A 404 load error is shown instead of loading the html file.

What version of the product are you using? On what operating system?
Mongoose 3.0 on Mac OS X 10.6.8

Please provide any additional information below.

Original issue reported on code.google.com by mihai.o....@gmail.com on 8 Feb 2012 at 12:59

GoogleCodeExporter commented 9 years ago
Submitted 
http://code.google.com/p/mongoose/source/detail?r=6e2c7908ec60cc0a3c9f48bf361d40
37d91ba83a, thank you.

Original comment by valenok on 9 Feb 2012 at 10:55