| Title | back slashes in http string in a file causes file not to load |
| Date | 16-Apr-2005 20:44:23 EEST |
| Version | all |
| Submitter | JanneJalkanen |
| Bug criticality | JSPWiki:EnhancementRequest![]() |
| Browser version | |
| Bug status | ClosedBug |
| PageProvider used | |
| Servlet Container | |
| Operating System | |
| URL | |
| Java version |
Replace backslash with \. I don't want to cause your pages not to load.
http:backslashbackslashwww.ethereal.com
Also, could the damn exception print out what file it was working on? I had a 1000 files and took some time to narrow this down.
(exception description removed)
- I can't reproduce this on www.jspwiki.org nor on a 2.1.9x server, both running with jdk 1.4.2 on linux. Could someone else do check on windows platforms?
To verify:
http:
www.ethereal.com
http:\\www.ethereal.com
Of course, you shouldn't be using backslashes in URL's anyway.
--ebu
True, but that's not the point.
Workaround exists now in 2.2.7: escape the double-backslash sequence with ~.