#26744 closed Bug (fixed)
Accept-Language header parsing accepts some invalid q values
| Reported by: | Vytis Banaitis | Owned by: | Vytis Banaitis |
|---|---|---|---|
| Component: | Internationalization | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Due to a typo in a regexp (an unescaped .), some invalid header values are accepted, such as en;q=1e0 and en;q=10000.
(q values must be fixed point floats between 0 and 1, with up to 3 decimal places.)
Change History (3)
comment:1 by , 9 years ago
| Has patch: | set |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:3 by , 9 years ago
| Component: | Utilities → Internationalization |
|---|
Note:
See TracTickets
for help on using tickets.
PR