Sebb created IO-589:
-----------------------

             Summary: Some tests fail if the base path contains a space
                 Key: IO-589
                 URL: https://issues.apache.org/jira/browse/IO-589
             Project: Commons IO
          Issue Type: Bug
            Reporter: Sebb


Some of the IOUtils and FileUtils test cases fail when the base path contains a 
space.

This is because the code uses URL#getFile() or URL#getPath() to convert a file: 
URL.
However those methods don't unencode spaces and other characters that are 
special to URLs.
The solution is to use URL#toURI() and pass the URI to the File() constructor.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to