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/06/16 17:02:26 UTC
[jira] Created: (WAGON-223) HTTP Wagon getFileList() returns empty
list for connected base URL
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
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
[jira] Updated: (WAGON-223) HTTP Wagon getFileList() returns empty
list for connected base URL
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated WAGON-223:
-------------------------------
Patch Submitted: [Yes]
> 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
> Fix For: 1.0-beta-5
>
> 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
[jira] Reopened: (WAGON-223) HTTP Wagon getFileList() returns empty
list for connected base URL
Posted by "Antti Virtanen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antti Virtanen reopened WAGON-223:
----------------------------------
> 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
[jira] Closed: (WAGON-223) HTTP Wagon getFileList() returns empty
list for connected base URL
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed WAGON-223.
------------------------------
Assignee: Brett Porter
Resolution: Cannot Reproduce
Fix Version/s: (was: 1.0-beta-4)
getFileList( "" ) and getFileList( "/" ) both work for me - can you provide more info?
> 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
>
> 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
[jira] Updated: (WAGON-223) HTTP Wagon getFileList() returns empty
list for connected base URL
Posted by "Antti Virtanen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antti Virtanen updated WAGON-223:
---------------------------------
Attachment: WAGON-223-wagon-http-shared.patch
Here is a patch which contains testcase and fix for the problem.
> 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
[jira] Commented: (WAGON-223) HTTP Wagon getFileList() returns
empty list for connected base URL
Posted by "Antti Virtanen (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Updated: (WAGON-223) HTTP Wagon getFileList() returns empty
list for connected base URL
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated WAGON-223:
-------------------------------
Fix Version/s: 1.0
> 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
> Fix For: 1.0
>
>
> 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
[jira] Updated: (WAGON-223) HTTP Wagon getFileList() returns empty
list for connected base URL
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated WAGON-223:
-------------------------------
Fix Version/s: 1.0-beta-5
> 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
> Fix For: 1.0-beta-5
>
> 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
[jira] Closed: (WAGON-223) HTTP Wagon getFileList() returns empty
list for connected base URL
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed WAGON-223.
------------------------------
Resolution: Fixed
I get it now. thanks for the patch! Applied.
> 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
> Fix For: 1.0-beta-5
>
> 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