You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "nicolas de loof (JIRA)" <ji...@codehaus.org> on 2006/08/23 08:45:48 UTC
[jira] Created: (WAGON-61) Wagon File provider doesn't check
basedir for existence on connect
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
[jira] Closed: (WAGON-61) Wagon File provider doesn't check basedir
for existence on connect
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ 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