You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Christoph Leiter (JIRA)" <ji...@apache.org> on 2012/04/22 12:33:34 UTC

[jira] [Updated] (WICKET-4509) Spaces in path cause ModifcationWatcher to fail

     [ https://issues.apache.org/jira/browse/WICKET-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christoph Leiter updated WICKET-4509:
-------------------------------------

    Attachment: WICKET-4509.patch

Attaching patch. All current test cases pass.
                
> 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
>         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