morgan pushed to branch mullvad-browser-128.6.0esr-14.5-1 at The Tor Project /
Applications / Mullvad Browser
Commits:
9d9fe343 by Pier Angelo Vendrame at 2025-01-14T12:37:59+00:00
BB 43386: Use Firefox in the UA in RFP-exempt request.
XHR requests initiated by extensions are exempt from RFP.
Therefore, they report the actual app name, instead of Firefox, and the
actual Firefox minor version.
This happens whenever the app name has been customized and does not
match a hardcoded "Firefox".
- - - - -
1 changed file:
- netwerk/protocol/http/nsHttpHandler.cpp
Changes:
=====================================
netwerk/protocol/http/nsHttpHandler.cpp
=====================================
@@ -863,7 +863,7 @@ void nsHttpHandler::BuildUserAgent() {
mUserAgent += '/';
mUserAgent += mProductSub;
- bool isFirefox = mAppName.EqualsLiteral("Firefox");
+ bool isFirefox = true;
if (isFirefox || mCompatFirefoxEnabled) {
// "Firefox/x.y" (compatibility) app token
mUserAgent += ' ';
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/9d9fe343ea35e6a528fef497d060a2921a632b22
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/9d9fe343ea35e6a528fef497d060a2921a632b22
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]