Pax-Web doesn't correctly handle file: URLs for the 
javax.servlet.context.tempdir property
------------------------------------------------------------------------------------------

                 Key: PAXWEB-52
                 URL: http://issues.ops4j.org/jira/browse/PAXWEB-52
             Project: Pax Web
          Issue Type: Bug
    Affects Versions: 0.2.1
            Reporter: Stuart McCulloch
            Assignee: Stuart McCulloch
            Priority: Minor
             Fix For: 0.2.2


Currently the Pax-Web service treats the javax.servlet.context.tempdir as a 
plain filename, and passes it straight to the File constructor. However, it 
appears from the tests that it should also handle file: URLs, as there is a 
test where a file: URL is passed in. At the moment this creates a local "file:" 
directory, which is why the test passes, but it should really try to interpret 
the string as a URI and use that to create the File.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to