Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.0-beta-1
-
Fix Version/s: 1.0-beta-2
-
Component/s: wagon-file
-
Labels:None
-
Environment:Used in Archiva for "file://" repository proxying
-
Number of attachments :
Description
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.
Commited as wagon-file revision 485096.
Thanks nicolas!