mozilla-mobile / focus-android

⚠️ Firefox Focus (Android) moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-android
https://github.com/mozilla-mobile/firefox-android
Mozilla Public License 2.0
2.11k stars 710 forks source link

Wrong locale for search engine #2925

Closed bbinto closed 2 years ago

bbinto commented 6 years ago
screen shot 2018-07-18 at 10 52 53 am

German "Seit einer Weile funktioniert die Suche nicht richtig. Die Suchen wie Duckduckgo, Ecosia oder Bing denken immer ich wäre in den USA. Daher bekomme ich immer Such - Ergebnisse für und aus den USA."

caugner commented 5 years ago

I tried to reproduce the issue in Firefox Klar 8.0 Build 322881254 (as part of #Hacktoberfest Paris).

Setting DuckDuckGo as the default search engine and searching for the term "Mozilla", opens the following URL: https://duckduckgo.com/?q=Mozilla&t=fpas&ia=web

The URL does not contain the kl parameter for selecting a locale (see https://duckduckgo.com/params), therefore no region is selected, which could explain why search results included "US results".

Furthermore, DuckDuckGo shows a user interface element to quickly restrict results to the country derived from the IP address. Therefore another explanation could be that the user was using a VPN with a US IP address or e.g. Orbot (a Tor proxy).

Question: Should Focus indeed append locale parameters to the search queries? This may impact privacy for users that don't use the predominant locale in their country (which can be, see above, often derived from the user's IP address).

lobontiumira commented 2 years ago

I was not able to reproduce this issue on the latest RC 95.1.0 build, nor on the 12/7 Focus Nightly. I searched a few terms with DuckDuckGo, and the search results were from Europe, and Romania, not from USA. I'll close this issue.