morgan pushed to branch base-browser-128.6.0esr-14.5-1 at The Tor Project / Applications / Tor Browser
Commits: 6702da42 by Pier Angelo Vendrame at 2025-01-14T12:56:03+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/tor-browser/-/commit/6702da426ba2ebcfcf35eff0aacf7b5247b081c8 -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/6702da426ba2ebcfcf35eff0aacf7b5247b081c8 You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________ tbb-commits mailing list -- tbb-commits@lists.torproject.org To unsubscribe send an email to tbb-commits-le...@lists.torproject.org