From afb34f78256f69f516fc78d0ffd90eb2dedc572a Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Wed, 20 Oct 2010 10:04:25 -0400 Subject: do not encode cache file url when adding it to jarLocationSecurityMap 2010-10-20 Omair Majid * 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. --- netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netx/net/sourceforge/jnlp/runtime') 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) { -- cgit v1.2.3