Pier Angelo Vendrame pushed to branch tor-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
-
66370dbe
by Pier Angelo Vendrame at 2024-05-15T10:59:36+02:00
1 changed file:
Changes:
... | ... | @@ -850,7 +850,7 @@ public final class GeckoRuntimeSettings extends RuntimeSettings { |
850 | 850 | }
|
851 | 851 | }
|
852 | 852 | }
|
853 | - String acceptLanguages = locale != null ? locale.toString().replace('_', '-') : "en-US";
|
|
853 | + String acceptLanguages = locale != null ? locale.toLanguageTag().replace('_', '-') : "en-US";
|
|
854 | 854 | if (acceptLanguages.equals("en-US")) {
|
855 | 855 | // For consistency with spoof English.
|
856 | 856 | acceptLanguages += ", en";
|