Project

General

Profile

Actions

Bug #51528

closed

400 error caused by multi-subtag language in Accept-Language header

Added by 玮文 胡 almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
i18n
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Reproduced by Firefox for Android in Chinese.

The sent Accept-Language header is: zh-Hans-CN,en-CN;q=0.5

The response is:

{"status": "400 Bad Request", "detail": "Malformed 'Accept-Language' header", "request_id": "f9c0bfb0-8974-46ec-84e7-fe7bfe9f4d7a"}


Related issues 1 (0 open1 closed)

Copied to Dashboard - Backport #51558: pacific: 400 error caused by multi-subtag language in Accept-Language headerResolvedLaura PaduanoActions
Actions

Also available in: Atom PDF