ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gintautas Grigelionis <g.grigelio...@gmail.com>
Subject Re: Artifactory regression wrt Ivy
Date Tue, 30 Jan 2018 12:31:37 GMT
Regardless of the regression in Artifactory,
ApacheURLLister.retrieveListing() has a defect.
Namely, it omits the lines where text does not match a href because href is
URL encoded.
So I think of adding

if (href.contains("%")) {
    href = URLDecoder.decode(href, "UTF-8");
}

or

href = new URI(href).getPath();

(the difference being that getPath() is decoding in URI but not in URL).

Gintas

2018-01-26 22:23 GMT+01:00 Gintautas Grigelionis <g.grigelionis@gmail.com>:

> Please upvote https://www.jfrog.com/jira/browse/RTFACT-15708
>
> Gintas
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message