Mail Archive Home | enhydra List | September 2005 Index
| Date Index --> | Thread Index --> |
Hi Peter, you are right! Problem is present in Enhydra 5.X (not in Enhydra 6.X) releases.I've made implementation adaptation of 'org.enhydra.servlet.servlets.FileServerServlet' class and committed changes to public CVS.
Basically, the only addition is (as you suggested) done in servlets "doGet()" method:
pathInfo = URLDecoder.decode(pathInfo); Thanks for your contribution! Regards, Slobodan Vujasinovic Enhydra Development Team Petr Stehlik wrote:
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
| Date Index --> | Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.