[
http://jira.codehaus.org/browse/WAGON-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg closed WAGON-307.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.0-beta-7
Assignee: Dennis Lundberg
Fixed in [r944139|http://svn.apache.org/viewvc?view=revision&revision=944139].
> Wrong basedir returned for URL without protocol in PathUtils
> ------------------------------------------------------------
>
> Key: WAGON-307
> URL: http://jira.codehaus.org/browse/WAGON-307
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-provider-api
> Affects Versions: 1.0-beta-6
> Reporter: Dennis Lundberg
> Assignee: Dennis Lundberg
> Fix For: 1.0-beta-7
>
>
> PathUtils.basedir(String url) currently expects the url to contain the string
> "://". But this is not always true, see linked issue in the Site Plugin for
> the full use case. The result is that the returned value is off-by-one in the
> call substring(). This should be handled gracefully, to allow for urls
> without a protocol.
--
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