[rfc][icedtea-web] Fix regression in recent PR1204 patch

Andrew Azores aazores at redhat.com
Tue Oct 1 08:45:26 PDT 2013


I just caught a regression in my own patch. The "path" portion of the 
URI was already percent-encoded seeing as it was obtained with 
URL#getPath(). This was then fed back into the constructor of a new URI, 
and the .toURL() result of this URI was returned. This process repeated 
the percent-encoding, so eg spaces would become "%2520" rather than 
simply "%20".

* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java: 
(getVersionedUrl) fix regression in applying percent-encoding twice


Andrew A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR1204_regression.patch
Type: text/x-patch
Size: 1532 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20131001/b8938b1b/PR1204_regression.patch 

More information about the distro-pkg-dev mailing list