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

Petr Stehlik <[email protected]> Wed, 31 Aug 2005 13:54:05 +0200
Newsgroups gmane.comp.java.enhydra.general
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1125489284-10599-89
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

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




------------=_1125489284-10599-89
Content-Type: text/plain; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: 8bit


--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

------------=_1125489284-10599-89--