logo       

[enhydra] FileServerServlet doesn't decode escape sequencies in URL?: msg#00037

java.enhydra.general

Subject: [enhydra] FileServerServlet doesn't decode escape sequencies in URL?

Hi all,

the FileServerServlet seems to suffer from a serious bug - it doesn't
decode the escape sequences in URL.

Example: http://www.server.com/path/file%20name.png

This should return a file named "file name.png". But it doesn't -
instead it searches for file named "file%20name.png" and since there is
no such file it returns Error 404.

This would be a one liner fix but it's weird that it hasn't been noticed
before...

Petr




--
You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing
list.
To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise