ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Tinetti (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1232) Some repositories broken by IVY-1175
Date Thu, 23 Sep 2010 19:28:33 GMT
Some repositories broken by IVY-1175
------------------------------------

                 Key: IVY-1232
                 URL: https://issues.apache.org/jira/browse/IVY-1232
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.2.0-RC1
            Reporter: John Tinetti
            Priority: Blocker


ApacheURLLister.retrieveListing() was changed for IVY-1175.  The method now handles hrefs
with text value ending in "..>" by treating those text values as truncated, which may be
correct behavior.  However, the method should also handle hrefs with text value ending in
"..&gt;" and handle those as truncated as well, since "&gt;" is the preferred html
syntax.

Here is the patch:

165a166,170
>             } else if (text.endsWith("..&gt;")) {
>                 // text is probably truncated, we can only check if the href starts with
text
>                 if (!href.startsWith(text.substring(0, text.length() - 6))) {
>                     continue;
>                 }

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


Mime
View raw message