From d53e955985701170025665a11705b1d90ed6a9ca Mon Sep 17 00:00:00 2001 From: vanitasvitae Date: Sat, 13 Aug 2016 00:42:13 +0200 Subject: [PATCH] Disable Webview FileAccess --- .../com/github/dfa/diaspora_android/activity/MainActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java b/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java index 1b13a2f8..56ff2176 100644 --- a/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java +++ b/app/src/main/java/com/github/dfa/diaspora_android/activity/MainActivity.java @@ -258,6 +258,7 @@ public class MainActivity extends AppCompatActivity webSettings = webView.getSettings(); webSettings.setJavaScriptEnabled(true); + webSettings.setAllowFileAccess(false); webSettings.setUseWideViewPort(true); webSettings.setLoadWithOverviewMode(true); webSettings.setDomStorageEnabled(true);