[tor-commits] [Git][tpo/applications/firefox-android][firefox-android-115.2.1-13.5-1] fixup! Disable features and functionality

ma1 (@ma1) git at gitlab.torproject.org
Wed May 15 05:42:13 UTC 2024



ma1 pushed to branch firefox-android-115.2.1-13.5-1 at The Tor Project / Applications / firefox-android


Commits:
6eaa81ce by hackademix at 2024-05-15T07:39:36+02:00
fixup! Disable features and functionality

Bug 42578: Reject Android "open in Tor Browser" intent

- - - - -


1 changed file:

- fenix/app/src/main/java/org/mozilla/fenix/home/intent/HomeDeepLinkIntentProcessor.kt


Changes:

=====================================
fenix/app/src/main/java/org/mozilla/fenix/home/intent/HomeDeepLinkIntentProcessor.kt
=====================================
@@ -90,6 +90,15 @@ class HomeDeepLinkIntentProcessor(
                     logger.info("Not opening deep link: $url")
                     return
                 }
+                if (BuildConfig.DEEP_LINK_SCHEME.startsWith("torbrowser")) {
+                    // tor-browser#42578
+                    // TODO:
+                    // Maybe just warn users about linkability but
+                    // give them the choice to open anyway, once
+                    // the other deep link related issues are fixed.
+                    logger.info("Tor Browser rejects open intent deep link: $deepLink")
+                    return
+                }
 
                 activity.openToBrowserAndLoad(
                     url,



View it on GitLab: https://gitlab.torproject.org/tpo/applications/firefox-android/-/commit/6eaa81ce1a0101fdbaa513d22e946f77cdf910d1

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/firefox-android/-/commit/6eaa81ce1a0101fdbaa513d22e946f77cdf910d1
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240515/52fb1d9c/attachment-0001.htm>


More information about the tor-commits mailing list