ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVY-1232) Some repositories broken by IVY-1175
Date Thu, 23 Sep 2010 20:13:32 GMT

     [ https://issues.apache.org/jira/browse/IVY-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Coene updated IVY-1232:
-------------------------------

     Original Estimate:     (was: 1h)
    Remaining Estimate:     (was: 1h)
              Assignee: Maarten Coene
           Description: 
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:

{noformat}
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;
>                 }
{noformat}

  was:
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;
>                 }


> 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
>            Assignee: Maarten Coene
>            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:
> {noformat}
> 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;
> >                 }
> {noformat}

-- 
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