chesterpolo / mongoose

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

404 Not Found returned when accessing a directory named "C++" (win32 specific) #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

0. On your Windows desktop, start mongoose.
1. In the web root directory, create a directory named, say, "languages"
2. In the "languages" directory, create a directory named "C++"
3. In the address bar of your web browser, type in 
"http://localhost:8080/languages/"
   (Now, you see directory listing of languages and C++ is there.)
4. Click "C++" (Now, you get 404 error)

What is the expected output? What do you see instead?

- I expected to see the directory listing of C++, but I see "404 Not Found" 
instead.

What version of the product are you using? On what operating system?

- Latest binary for win32

Please provide any additional information below.

- I looked at mongoose.c and found to_unicode() function has excessive demand 
on 'non-attacking uri.' It rejects uri ends with '+'. Moreover, it also rejects 
uri ends with non-ascii character. I guess this causes the same problem with 
CJK path names. (I haven't tested it though)

Original issue reported on code.google.com by upriser on 15 Oct 2010 at 1:14

GoogleCodeExporter commented 9 years ago

Original comment by valenok on 22 Sep 2012 at 12:39