You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2018/06/27 08:03:46 UTC

incubator-weex git commit: [WEEX-419][android] weeks bugfix for security check

Repository: incubator-weex
Updated Branches:
  refs/heads/master 049d19f29 -> 15e8df0a1


[WEEX-419][android] weeks bugfix for security check


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/15e8df0a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/15e8df0a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/15e8df0a

Branch: refs/heads/master
Commit: 15e8df0a1aeddbb6a41afcccee373944e68914a9
Parents: 049d19f
Author: jianbai.gbj <ji...@alibaba-inc.com>
Authored: Fri Jun 8 14:57:24 2018 +0800
Committer: YorkShen <sh...@gmail.com>
Committed: Wed Jun 27 16:03:37 2018 +0800

----------------------------------------------------------------------
 android/sdk/src/main/java/com/taobao/weex/ui/view/WXWebView.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/15e8df0a/android/sdk/src/main/java/com/taobao/weex/ui/view/WXWebView.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/view/WXWebView.java b/android/sdk/src/main/java/com/taobao/weex/ui/view/WXWebView.java
index 975cbbe..1b3ce37 100644
--- a/android/sdk/src/main/java/com/taobao/weex/ui/view/WXWebView.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/view/WXWebView.java
@@ -218,6 +218,7 @@ public class WXWebView implements IWebView {
         settings.setDomStorageEnabled(true);
         settings.setSupportZoom(false);
         settings.setBuiltInZoomControls(false);
+        settings.setAllowFileAccess(false);
         wv.setWebViewClient(new WebViewClient() {
 
             @Override