[rfc][icedtea-web] Fix regression in recent PR1204 patch
Omair Majid
omajid at redhat.com
Tue Oct 1 09:01:31 PDT 2013
On 10/01/2013 11:45 AM, Andrew Azores wrote:
> 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".
Could you include a unit test? Otherwise looks good to me.
Cheers,
Omair
--
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681
More information about the distro-pkg-dev
mailing list