cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject android commit: CB-10896: We never enabled cookies on the WebView proper
Date Tue, 22 Mar 2016 19:45:36 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/master 69a2a5b55 -> eccde6c0c


CB-10896: We never enabled cookies on the WebView proper


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/eccde6c0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/eccde6c0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/eccde6c0

Branch: refs/heads/master
Commit: eccde6c0c02bff61fcd8d57c39f2cf0a62dbc079
Parents: 69a2a5b
Author: Joe Bowser <bowserj@apache.org>
Authored: Tue Mar 22 12:45:23 2016 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Tue Mar 22 12:45:23 2016 -0700

----------------------------------------------------------------------
 framework/src/org/apache/cordova/engine/SystemCookieManager.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/eccde6c0/framework/src/org/apache/cordova/engine/SystemCookieManager.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/engine/SystemCookieManager.java b/framework/src/org/apache/cordova/engine/SystemCookieManager.java
index b88909e..acf795f 100644
--- a/framework/src/org/apache/cordova/engine/SystemCookieManager.java
+++ b/framework/src/org/apache/cordova/engine/SystemCookieManager.java
@@ -37,6 +37,9 @@ class SystemCookieManager implements ICordovaCookieManager {
         webView = webview;
         cookieManager = CookieManager.getInstance();
 
+        //REALLY? Nobody has seen this UNTIL NOW?
+        cookieManager.setAcceptFileSchemeCookies(true);
+
         if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
             cookieManager.setAcceptThirdPartyCookies(webView, true);
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message