You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Antti Virtanen (JIRA)" <ji...@codehaus.org> on 2008/08/04 17:33:27 UTC
[jira] Commented: (WAGON-223) HTTP Wagon getFileList() returns
empty list for connected base URL
[ http://jira.codehaus.org/browse/WAGON-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=144066#action_144066 ]
Antti Virtanen commented on WAGON-223:
--------------------------------------
So the problem was in wagon-http-shared HtmlFileListParser when used with non-normalized base URI with Jetty, which returns full host-specific paths. In that case cleanLink() won't relativize links correctly and isAcceptableLink() will then reject it. HttpWagon getFileList() seems to always append "/" to the end of destination URL even when called with empty arg and the connected base URL would already end to "/".
> HTTP Wagon getFileList() returns empty list for connected base URL
> ------------------------------------------------------------------
>
> Key: WAGON-223
> URL: http://jira.codehaus.org/browse/WAGON-223
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-http
> Affects Versions: 1.0-beta-3
> Reporter: Antti Virtanen
> Assignee: Brett Porter
> Attachments: WAGON-223-wagon-http-shared.patch
>
>
> When called with empty arg it always returns empty list for the connected base URL.
> The problem didn't exists in 1.0-beta-2.
--
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