#26744: Accept-Language header parsing accepts some invalid q values
----------------------------+--------------------
Reporter: vytisb | Owner: nobody
Type: Bug | Status: new
Component: Utilities | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
----------------------------+--------------------
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.)
--
Ticket URL: <https://code.djangoproject.com/ticket/26744>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.5d692e51356c1f9f4d065ed6fc700b5b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.