Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-959

Listing of URL's under a given URL does not handle fully specified URL's

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-RC1
    • 2.1.0-RC1
    • Core
    • None

    Description

      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.

      Attachments

        1. ApacheURLLister.patch
          0.6 kB
          Randy Nott

        Activity

          People

            maartenc Maarten Coene
            rnott Randy Nott
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: