diff options
author | Deepak Bhole <[email protected]> | 2012-06-05 10:11:09 -0400 |
---|---|---|
committer | Deepak Bhole <[email protected]> | 2012-06-05 10:11:09 -0400 |
commit | 5319aa17959526c2848fb091cf0fe52b34b54334 (patch) | |
tree | 07cc0aba0105bb8b0615a325e1162fa195d0aa9a /netx/net/sourceforge/jnlp/SecurityDesc.java | |
parent | e60a2847c802c9a13e8171c9f7a05aad3b1d0da3 (diff) |
PR861: Allow loading from non codebase hosts. Allow code to connect to hosting server
Diffstat (limited to 'netx/net/sourceforge/jnlp/SecurityDesc.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/SecurityDesc.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/SecurityDesc.java b/netx/net/sourceforge/jnlp/SecurityDesc.java index 9455c9a..197fd3d 100644 --- a/netx/net/sourceforge/jnlp/SecurityDesc.java +++ b/netx/net/sourceforge/jnlp/SecurityDesc.java @@ -238,7 +238,7 @@ public class SecurityDesc { for (int i = 0; i < jnlpRIAPermissions.length; i++) permissions.add(jnlpRIAPermissions[i]); - if (downloadHost != null) + if (downloadHost != null && downloadHost.length() > 0) permissions.add(new SocketPermission(downloadHost, "connect, accept")); |