New issue
Advanced search Search tips

Issue 916234 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Accept-Language header doesn't match language ordering

Project Member Reported by tnagel@chromium.org, Dec 18

Issue description

Chrome Version: 71.0.3578.98 (Official Build) (64-bit)
OS: Chrome

What steps will reproduce the problem?
(1) I have languages ordered en-US, en, de (cf. screenshot).

What is the expected result?
The Accept-Language header should reflect that ordering.

What happens instead?
A wrong ordering is being sent: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
 
Screenshot 2018-12-18 at 20.31.39.png
189 KB View Download
(I've sent feedback that references this bug.)
Moving German to the top and then moving it to the bottom again solves the problem. Now the string looks correct: en-US,en;q=0.9,de;q=0.8

So this might be due to a migration or a sync that went wrong.
Components: Privacy
Components: -Privacy
While the Accept-Language headers is well known for its privacy implications, I don't think this particular bug meaningfully increases them; in fact, unpredictability in how items are sorted is likely to make one less identifiable.

Removing the Privacy component, but please chime in if you disagree :) Leaving this to the Languages team to triage.

Sign in to add a comment