Re: [patch] Bug with spaces in file names in ApacheURLLister.java

2013-03-30 Thread Andreas Heindl
sorry, better patch might be a replacement of href instead of introducing a temporary variable href_dec: href = Uri.decode(href); String strippedHref = href.endsWith("/") ? href.substring(0, href.length() - 1) : href; ... On 3/30/2013 9:48 AM, Andreas Heindl wrote: Hello, there is a bug in

[patch] Bug with spaces in file names in ApacheURLLister.java

2013-03-30 Thread Andreas Heindl
Hello, there is a bug in apache-ivy-2.3.0-src.zip/apache-ivy-2.3.0/src/java/org/apache/ivy/util/url/ApacheURLLister.java When parsing an file containing spaces, its href representation is encoded, whilst the text is unencoded. The check in line 177: String strippedHref = href_dec.endsWith("/"