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.


_______________________________________________
tbb-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-commits

Reply via email to