diff --git a/src/Platform_Core/.classpath b/src/Platform_Core/.classpath index f67af3b4..05a8df75 100644 --- a/src/Platform_Core/.classpath +++ b/src/Platform_Core/.classpath @@ -3,13 +3,13 @@ - - - + + + diff --git a/src/Platform_Core/lib/okhttp-2.1.1-SNAPSHOT.jar b/src/Platform_Core/lib/okhttp-2.1.1-SNAPSHOT.jar deleted file mode 100644 index ded7f66a..00000000 Binary files a/src/Platform_Core/lib/okhttp-2.1.1-SNAPSHOT.jar and /dev/null differ diff --git a/src/Platform_Core/lib/okhttp-2.2.0.jar b/src/Platform_Core/lib/okhttp-2.2.0.jar new file mode 100644 index 00000000..aabcbaaa Binary files /dev/null and b/src/Platform_Core/lib/okhttp-2.2.0.jar differ diff --git a/src/Platform_Core/lib/okhttp-urlconnection-2.1.1-SNAPSHOT.jar b/src/Platform_Core/lib/okhttp-urlconnection-2.2.0.jar similarity index 64% rename from src/Platform_Core/lib/okhttp-urlconnection-2.1.1-SNAPSHOT.jar rename to src/Platform_Core/lib/okhttp-urlconnection-2.2.0.jar index 4e536ef9..8147ea8b 100644 Binary files a/src/Platform_Core/lib/okhttp-urlconnection-2.1.1-SNAPSHOT.jar and b/src/Platform_Core/lib/okhttp-urlconnection-2.2.0.jar differ diff --git a/src/Platform_Core/lib/okio-1.0.1.jar b/src/Platform_Core/lib/okio-1.0.1.jar deleted file mode 100644 index 11b709a4..00000000 Binary files a/src/Platform_Core/lib/okio-1.0.1.jar and /dev/null differ diff --git a/src/Platform_Core/lib/okio-1.2.0.jar b/src/Platform_Core/lib/okio-1.2.0.jar new file mode 100644 index 00000000..a1d1105a Binary files /dev/null and b/src/Platform_Core/lib/okio-1.2.0.jar differ diff --git a/src/Platform_Core/org/lobobrowser/security/LocalSecurityPolicy.java b/src/Platform_Core/org/lobobrowser/security/LocalSecurityPolicy.java index 9b714e30..6fdbbb95 100644 --- a/src/Platform_Core/org/lobobrowser/security/LocalSecurityPolicy.java +++ b/src/Platform_Core/org/lobobrowser/security/LocalSecurityPolicy.java @@ -399,12 +399,12 @@ public PermissionCollection getPermissions(final CodeSource codesource) { permissions.add(new PropertyPermission("line.separator", "read")); permissions.add(new RuntimePermission("getClassLoader")); - } else if (path.endsWith("okhttp-urlconnection-2.1.1-SNAPSHOT.jar")) { + } else if (path.endsWith("okhttp-urlconnection-2.2.0.jar")) { permissions.add(new NetPermission("getProxySelector")); permissions.add(new NetPermission("getCookieHandler")); permissions.add(new PropertyPermission("http.*", "read")); permissions.add(new SocketPermission("*", "connect,resolve,listen,accept")); - } else if (path.endsWith("okhttp-2.1.1-SNAPSHOT.jar")) { + } else if (path.endsWith("okhttp-2.2.0.jar")) { permissions.add(new NetPermission("getProxySelector")); permissions.add(new NetPermission("getCookieHandler")); permissions.add(new PropertyPermission("http.*", "read"));