To confirm that re-testing on OSX Tiger w/ Java 5 blows up when call toURI() against a URL with a space included.

On Jan 14, 2010, at 5:45 PM, Matt Benson wrote:

Yes--my testing seems to indicate that the single-arg constructor of URI is used in this case, which blows up for improperly escaped characters per its javadoc. I'll double-check though.

Thanks,
Matt

On Jan 14, 2010, at 5:36 PM, Jesse Glick wrote:

mben...@apache.org wrote:
URL: http://svn.apache.org/viewvc/ant/antlibs/props/trunk/src/ main/org/apache/ant/props/EncodeURLEvaluator.java? rev=899468&view=auto ==================================================================== ==========
+            URI uri = new URI(url.getProtocol(), url.getUserInfo(),
+ url.getHost(), url.getPort(), url.getPath (), url.getQuery(), url.getRef());

Something wrong with

  URI uri = url.toURI();

?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to