From 245636905431cc0c990901f8b50615b254b9d7d5 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Thu, 7 Mar 2024 10:07:03 +0100 Subject: [PATCH 1/2] Redirect only if url should be redirected Signed-off-by: tobiasKaminsky --- .../owncloud/android/ui/activity/ExternalSiteWebView.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 1282e96f0d..c02e299cd8 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 class ExternalSiteWebView extends FileActivity { @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; } }); From 251c7c278b1c51e4d633ab10d5decfb123a81132 Mon Sep 17 00:00:00 2001 From: nextcloud-android-bot Date: Thu, 14 Mar 2024 21:07:03 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/wo?= =?UTF-8?q?rkflows/'=20with=20remote=20'config/workflows/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nextcloud-android-bot --- .github/workflows/analysis.yml | 2 +- .github/workflows/codeql.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 7c97ceb1cb..1d4ad457af 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -49,7 +49,7 @@ jobs: repository: ${{ steps.get-vars.outputs.repo }} ref: ${{ steps.get-vars.outputs.branch }} - name: Set up JDK 17 - uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 # v4.2.0 + uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 with: distribution: "temurin" java-version: 17 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6f2a3b6cbc..733b9a043c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -43,7 +43,7 @@ jobs: with: languages: ${{ matrix.language }} - name: Set up JDK 17 - uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 # v4.2.0 + uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 with: distribution: "temurin" java-version: 17