diff --git a/app/src/main/java/com/owncloud/android/ui/activity/ExternalSiteWebView.java b/app/src/main/java/com/owncloud/android/ui/activity/ExternalSiteWebView.java index 1282e96f0d5b..c02e299cd867 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/ExternalSiteWebView.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/ExternalSiteWebView.java @@ -156,8 +156,11 @@ public void onReceivedError(WebView view, WebResourceRequest request, WebResourc @Override public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request) { - DisplayUtils.startLinkIntent(self, request.getUrl()); - return true; + if (!request.isRedirect()) { + DisplayUtils.startLinkIntent(self, request.getUrl()); + return true; + } + return false; } });