Bug 1466936

Summary: Website button link in Software makes Firefox not respect preferred languages preferences
Product: [Fedora] Fedora Reporter: Michal Stanke [:MikkCZ][:mstanke] (use needinfo) <michal>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: klember, rhughes, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-03 10:55:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Stanke [:MikkCZ][:mstanke] (use needinfo) 2017-06-30 19:53:21 UTC
Description of problem:
When clicking the website button in Software, the mozilla.org website opens in English version, despite the local version exists.

Version-Release number of selected component (if applicable):
Fedora 25
Firefox 54.0

How reproducible:
1. Have Firefox on Czech Fedora installation as default browser.
2. In Firefox content preferences ensure Czech (cs) is the preferred language.

Steps to Reproduce:
STR:
1. Go to Software.
2. Find Firefox there.
3. Click the website button.

Actual results:
https://www.mozilla.org/en-US/ is opened instead the expected localized version https://www.mozilla.org/cs/

The link from Software makes Firefox ignore the preferred language preferences and as a consequence it gets redirected to the en-US version of the website. To make things worse, this pollutes the cache and the redirect to the appropriate version won't work not even from regular links on the web, unless you clear the browser cache.

Comment 1 Richard Hughes 2017-07-03 10:55:05 UTC
in firefox git-dist: commit fb4e18f620ba19d05304f497e9a339464cde26cc (HEAD -> master)
Author: Richard Hughes <richard>
Date:   Mon Jul 3 11:54:21 2017 +0100

    Do not hardcoded locale when clicking links in gnome-software
    
    Resolves: #1466936

The next build should contain this fix.