Listing of URL's under a given URL does not handle fully specified URL's
------------------------------------------------------------------------
Key: IVY-959
URL: https://issues.apache.org/jira/browse/IVY-959
Project: Ivy
Issue Type: Bug
Components: Core
Affects Versions: 2.0-RC1
Reporter: Randy Nott
Attachments: ApacheURLLister.patch
Listing of URL's under a given URL does not handle fully specified URL's thus
failing resolution of dynamic versions with certain repositories. The following
example is a directory listing returned by the Sonatype Nexus repository
manager:
<html>
<head>
<title>Index of
/nexus/content/repositories/releases/myorganization/mymodule/</title>
</head>
<body>
<h1>Index of
/nexus/content/repositories/releases/myorganization/mymodule/</h1>
<table cellspacing="10">
<tr>
<th align="left">Name</th>
<th>Last Modified</th>
<th>Size</th>
<th>Description</th>
</tr>
<tr>
<td>
<a
href="http://example.com/nexus/content/repositories/releases/myorganization/">Parent
Directory
</a>
</td>
</tr>
<tr>
<td>
<a
href="http://example.com/nexus/content/repositories/releases/myorganization/mymodule/1.0/">1.0/</a>
</td>
<td align="center">
Tue Oct 28 00:41:33 PDT 2008
</td>
<td align="center">
-
</td>
</tr>
</table>
</body>
</html>
The current implementation fails as it only supports the URL as a path (no
protocol or server/port).
A patch to add support for full URL's is attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.