-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
540144
The bug
minecraft.net ignores q-factor weighting for the Accept-Language header value.
This header specifies the preferred languages in which a website should be served and the q-factors allow specifying in which order the languages are preferred. With Firefox this can be set under the "Language" setting.
For example when choosing English, else German else Danish, the header might look like this:
Accept-Language: en,de;q=0.7,da;q=0.3
However, minecraft.net apparently completely ignores the weights and instead iterates over the languages in an arbitrary (possibly string hash code-based) order, serving Danish first, then German and then English.
How to reproduce
- Set a preferred language English (en), then Danish (da)
- Open https://minecraft.net
You are redirected to https://www.minecraft.net/da-dk/ instead of /en-us/
- is duplicated by
-
WEB-5237 minecraft.net displays in wrong language
- Resolved