ma1 pushed to branch mullvad-browser-128.10.0esr-14.5-1 at The Tor Project / Applications / Mullvad Browser
Commits:
-
5699a253
by hackademix at 2025-04-24T20:51:09+02:00
-
848293a7
by gela at 2025-04-24T20:51:11+02:00
-
ed209a33
by Titouan Thibaud at 2025-04-24T20:51:13+02:00
4 changed files:
- browser/app/profile/001-base-profile.js
- mobile/android/android-components/components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/GeckoEngineSession.kt
- mobile/android/android-components/components/support/utils/src/main/java/mozilla/components/support/utils/DownloadUtils.kt
- mobile/android/geckoview/src/main/java/org/mozilla/gecko/mozglue/GeckoLoader.java
Changes:
... | ... | @@ -208,6 +208,11 @@ pref("datareporting.policy.dataSubmissionEnabled", false); |
208 | 208 | pref("browser.urlbar.recentsearches.featureGate", false);
|
209 | 209 | pref("browser.urlbar.suggest.recentsearches", false);
|
210 | 210 | |
211 | +// Disable the UITour API
|
|
212 | +// See tor-browser#41457 and
|
|
213 | +// https://bugzilla.mozilla.org/show_bug.cgi?id=1915280
|
|
214 | +pref("browser.uitour.enabled", false);
|
|
215 | + |
|
211 | 216 | // Make sure Unified Telemetry is really disabled, see: #18738.
|
212 | 217 | pref("toolkit.telemetry.unified", false);
|
213 | 218 | // This needs to be locked, or nightly builds will automatically lock it to true
|
... | ... | @@ -57,7 +57,6 @@ import mozilla.components.support.base.facts.Action |
57 | 57 | import mozilla.components.support.base.facts.Fact
|
58 | 58 | import mozilla.components.support.base.facts.collect
|
59 | 59 | import mozilla.components.support.base.log.logger.Logger
|
60 | -import mozilla.components.support.ktx.kotlin.decode
|
|
61 | 60 | import mozilla.components.support.ktx.kotlin.isEmail
|
62 | 61 | import mozilla.components.support.ktx.kotlin.isExtensionUrl
|
63 | 62 | import mozilla.components.support.ktx.kotlin.isGeoLocation
|
... | ... | @@ -1524,7 +1523,7 @@ class GeckoEngineSession( |
1524 | 1523 | url = url,
|
1525 | 1524 | contentLength = contentLength,
|
1526 | 1525 | contentType = DownloadUtils.sanitizeMimeType(contentType),
|
1527 | - fileName = fileName.sanitizeFileName().decode(),
|
|
1526 | + fileName = fileName.sanitizeFileName(),
|
|
1528 | 1527 | response = response,
|
1529 | 1528 | isPrivate = privateMode,
|
1530 | 1529 | openInApp = webResponse.requestExternalApp,
|
... | ... | @@ -274,8 +274,9 @@ object DownloadUtils { |
274 | 274 | |
275 | 275 | private fun parseContentDisposition(contentDisposition: String): String? {
|
276 | 276 | return try {
|
277 | - parseContentDispositionWithFileName(contentDisposition)
|
|
277 | + val fileName = parseContentDispositionWithFileName(contentDisposition)
|
|
278 | 278 | ?: parseContentDispositionWithFileNameAsterisk(contentDisposition)
|
279 | + Uri.decode(fileName)
|
|
279 | 280 | } catch (ex: IllegalStateException) {
|
280 | 281 | // This function is defined as returning null when it can't parse the header
|
281 | 282 | null
|
... | ... | @@ -211,7 +211,7 @@ public final class GeckoLoader { |
211 | 211 | throw new IllegalStateException("Invalid library path for libmozglue.so: " + mozglue);
|
212 | 212 | }
|
213 | 213 | final String base = mozglue.substring(0, lastSlash);
|
214 | - Log.i(LOGTAG, "Library base=" + base);
|
|
214 | + Log.d(LOGTAG, "Library base=" + base);
|
|
215 | 215 | return base;
|
216 | 216 | }
|
217 | 217 |