From a8ea684579a02c9da02f8f982d1e3b39e591d853 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 21 May 2025 11:55:16 +0200 Subject: [PATCH] Accept only root path for mobile.element.io. --- tools/tests/test_configuration_link.sh | 2 +- vector/src/main/AndroidManifest.xml | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/tools/tests/test_configuration_link.sh b/tools/tests/test_configuration_link.sh index 686061a432..54cb8c45f9 100755 --- a/tools/tests/test_configuration_link.sh +++ b/tools/tests/test_configuration_link.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash -adb shell am start -a android.intent.action.VIEW -d "https://mobile.element.io?hs_url=https%3A%2F%2Felement.io" +adb shell am start -a android.intent.action.VIEW -d "https://mobile.element.io/?hs_url=https%3A%2F%2Felement.io" diff --git a/vector/src/main/AndroidManifest.xml b/vector/src/main/AndroidManifest.xml index 56abe98703..fab5be1257 100644 --- a/vector/src/main/AndroidManifest.xml +++ b/vector/src/main/AndroidManifest.xml @@ -206,8 +206,17 @@ - + + + + + + + + + +