Pier Angelo Vendrame pushed to branch tor-browser-115.33.0esr-13.5-1 at The Tor 
Project / Applications / Tor Browser


Commits:
f48a5f15 by Pier Angelo Vendrame at 2026-02-24T15:05:12+01:00
fixup! Bug 4234: Use the Firefox Update Process for Base Browser.

BB 44668: Allow to replace detailsURL with unsupportedURL.

We perform unsupported detection locally, rather than with a
server-side logic, that is what Mozilla does.
So, we send unsupported users to the details of the actual update,
rather than sending them to a page with details of why they are
unsupported.
With this patch, we can distinguish those cases, and send user to a
more appropriate page when needed.

- - - - -


1 changed file:

- toolkit/mozapps/update/UpdateService.sys.mjs


Changes:

=====================================
toolkit/mozapps/update/UpdateService.sys.mjs
=====================================
@@ -2420,6 +2420,13 @@ function Update(update) {
     this.elevationFailure = false;
   }
 
+  if (this.unsupported && update.hasAttribute("unsupportedURL")) {
+    // Override the detailsURL with the dedicated link for the EOL.
+    // Otherwise it will point to the release blog post for the wrong version.
+    // See tor-browser#44668.
+    this.detailsURL = update.getAttribute("unsupportedURL");
+  }
+
   if (!this.detailsURL) {
     try {
       // Try using a default details URL supplied by the distribution



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f48a5f15ccba384a05d000e5ec3fa91f26c1161f

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f48a5f15ccba384a05d000e5ec3fa91f26c1161f
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to