diff options
author | Omair Majid <[email protected]> | 2010-10-20 10:04:25 -0400 |
---|---|---|
committer | Omair Majid <[email protected]> | 2010-10-20 10:04:25 -0400 |
commit | afb34f78256f69f516fc78d0ffd90eb2dedc572a (patch) | |
tree | 22149920710af7a2392849c42da2483936cef6f4 /netx/net/sourceforge/jnlp/runtime | |
parent | 3ebd3fb0788bb8433902274370de97254b17e3d8 (diff) |
do not encode cache file url when adding it to jarLocationSecurityMap
2010-10-20 Omair Majid <[email protected]>
* 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.
Diffstat (limited to 'netx/net/sourceforge/jnlp/runtime')
-rw-r--r-- | netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java index 03c44a1..9ce6f46 100644 --- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java +++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java @@ -460,7 +460,7 @@ public class JNLPClassLoader extends URLClassLoader { 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) { |