[
https://issues.apache.org/jira/browse/WICKET-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268520#comment-13268520
]
Peter Ertl commented on WICKET-4509:
------------------------------------
@Sven: In 6.x, can we move UrlDecoder into wicket-util?
> Spaces in path cause ModifcationWatcher to fail
> -----------------------------------------------
>
> Key: WICKET-4509
> URL: https://issues.apache.org/jira/browse/WICKET-4509
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.5
> Environment: Windows 7
> Reporter: Christoph Leiter
> Assignee: Sven Meier
> Fix For: 1.5.6, 6.0.0-RC1
>
> Attachments: WICKET-4509.patch
>
>
> The ModificationWatcher isn't able to reload resource files if there's a
> space in the path.
> The problem is that Files#getLocalFileFromUrl(String) receives an URL encoded
> String in which spaces are encoded to %20. They are never decoded and passed
> to File(). The fix is not to use the external representation of an URL but
> the file representation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira