Wagon File provider doesn't check basedir for existence on connect
------------------------------------------------------------------

                 Key: WAGON-61
                 URL: http://jira.codehaus.org/browse/WAGON-61
             Project: wagon
          Issue Type: Improvement
          Components: wagon-file
    Affects Versions: 1.0-beta-1
         Environment: Used in Archiva for "file://" repository proxying
            Reporter: nicolas de loof
            Priority: Trivial
         Attachments: patch.patch

The openConnection() in FileWagon does not check the repository baseDir. If the 
file URL points to an unexisting or read-protected path, it may throw a 
ConnectionException.

Attached patch adds exists and canRead checks for repository baseDir.

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

        

Reply via email to