Mercurial > hg > release > icedtea-web-1.1
changeset 6:257297223569
do not encode cache file url when adding it to jarLocationSecurityMap
2010-10-20 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(initializeResources): Do not perform url encoding on the file url. Stay
consistent with the unencoded urls used in getPermissions.
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Wed, 20 Oct 2010 10:04:25 -0400 |
parents | 8018994ecabd |
children | 3b526d8b7bb2 |
files | ChangeLog netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Oct 20 09:49:01 2010 -0400 +++ b/ChangeLog Wed Oct 20 10:04:25 2010 -0400 @@ -1,3 +1,9 @@ +2010-10-20 Omair Majid <omajid@redhat.com> + + * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java + (initializeResources): Do not perform url encoding on the file url. Stay + consistent with the unencoded urls used in getPermissions. + 2010-10-20 Omair Majid <omajid@redhat.com> * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
--- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java Wed Oct 20 09:49:01 2010 -0400 +++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java Wed Oct 20 10:04:25 2010 -0400 @@ -460,7 +460,7 @@ for (JARDesc jarDesc: file.getResources().getJARs()) { try { - URL location = tracker.getCacheFile(jarDesc.getLocation()).toURI().toURL(); + URL location = tracker.getCacheFile(jarDesc.getLocation()).toURL(); SecurityDesc jarSecurity = file.getSecurity(); if (file instanceof PluginBridge) {