ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <>
Subject [jira] Updated: (IVY-1106) URLResource does not properly support authentication
Date Fri, 07 May 2010 20:12:52 GMT


Maarten Coene updated IVY-1106:

    Fix Version/s: 2.2.0-RC1
                       (was: trunk)

> URLResource does not properly support authentication
> ----------------------------------------------------
>                 Key: IVY-1106
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1.0-RC2
>            Reporter: Heschi Kreinick
>            Assignee: Maarten Coene
>             Fix For: 2.2.0-RC1
> org.apache.ivy.plugins.repository.url.UrlResource#openStream uses
rather than going through the URLHandlerRegistry like init does. This breaks authentication
support. I encountered this bug when using a version range specification (1.+) against a secured
Maven repository, but I imagine that it can cause any number of other problems. The fix is
simply to change openStream to work the same way init does, by replacing
> return url.openStream();
> with 
> return URLHandlerRegistry.getDefault().openStream(url);
> This change passes all tests and solves my problem.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message