[ http://jira.codehaus.org/browse/WAGON-61?page=all ]
Joakim Erdfelt closed WAGON-61. ------------------------------- Resolution: Fixed Fix Version/s: 1.0-beta-2 Commited as wagon-file revision 485096. Thanks nicolas! > 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 > Assigned To: Joakim Erdfelt > Priority: Trivial > Fix For: 1.0-beta-2 > > 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