[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-140.9.1esr-15.0-1] BB 44749: Customize search parameters parsing.



Title: GitLab

Pier Angelo Vendrame pushed to branch mullvad-browser-140.9.1esr-15.0-1 at The Tor Project / Applications / Mullvad Browser

Commits:

  • 23f91601
    by Pier Angelo Vendrame at 2026-04-13T15:03:55+02:00
    BB 44749: Customize search parameters parsing.
    

1 changed file:

Changes:

  • toolkit/components/search/SearchEngine.sys.mjs
    ... ... @@ -151,7 +151,7 @@ function paramSubstitution(paramValue, searchTerms, queryCharset) {
    151 151
     
    
    152 152
         // Handle the less common OpenSearch parameters we're confident about.
    
    153 153
         if (name == OS_PARAM_LANGUAGE) {
    
    154
    -      return Services.locale.requestedLocale || OS_PARAM_LANGUAGE_DEF;
    
    154
    +      return Services.locale.webExposedLocales[0] || OS_PARAM_LANGUAGE_DEF;
    
    155 155
         }
    
    156 156
         if (name == OS_PARAM_OUTPUT_ENCODING) {
    
    157 157
           return OS_PARAM_OUTPUT_ENCODING_DEF;
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx