Christoph Leiter created WICKET-4509:
----------------------------------------

             Summary: 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


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

        

Reply via email to