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

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-149.0a1-16.0-2] BB 44749: Customize search parameters parsing.



Title: GitLab

Pier Angelo Vendrame pushed to branch mullvad-browser-149.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser

Commits:

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

1 changed file:

Changes:

  • toolkit/components/search/SearchEngine.sys.mjs
    ... ... @@ -169,7 +169,7 @@ function paramSubstitution(paramValue, searchTerms, queryCharset) {
    169 169
     
    
    170 170
         // Handle the less common OpenSearch parameters we're confident about.
    
    171 171
         if (name == OS_PARAM_LANGUAGE) {
    
    172
    -      return Services.locale.requestedLocale || OS_PARAM_LANGUAGE_DEF;
    
    172
    +      return Services.locale.webExposedLocales[0] || OS_PARAM_LANGUAGE_DEF;
    
    173 173
         }
    
    174 174
         if (name == OS_PARAM_OUTPUT_ENCODING) {
    
    175 175
           return OS_PARAM_OUTPUT_ENCODING_DEF;
    

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