[RFC] icedtea-web: use url escaping consistently in filenames

Omair Majid omajid at redhat.com
Tue Oct 19 13:11:19 PDT 2010


Hi,

The attached patch allows netx to work with jars with file names that 
need to be URL escaped (such as '[' and ']'). Netx consistently uses 
decoded URLs everywhere except in JNLPClassLoader.initializeResources().

File.toURI().toURL() encodes the filename as a URL, while File.toURL() 
does not encode the URL.

Any comments or objections?

Cheers,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-web-url-escaped-filesnames.patch
Type: text/x-patch
Size: 746 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20101019/b011de05/icedtea-web-url-escaped-filesnames.patch 


More information about the distro-pkg-dev mailing list