Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
8.7.0
-
None
Description
WICKET-6714 introduced using "URL.getFile" to convert some parts of an URL to a path in the local file system. This doesn't work properly, because the result of "getFile" is not properly decoded e.g. in case the URL/path contains spaces. While this concrete issue has been fixed by WICKET-6755 already, in theory this needs to be fixed i the entire code base as well. Each place URL.getFile is used to get some local file system path is wrong.
https://stackoverflow.com/questions/2166039/java-how-to-get-a-file-from-an-escaped-url
This is issue is created to make aware of that problem and because during WICKET-6755 I've found at least one additional place already where this problem happens.
Attachments
Issue Links
- links to