]> git.ipfire.org Git - thirdparty/tornado.git/commit
fix[web]: disallow negative quality values in Accept-Language
authorFlorian Best <best@univention.de>
Fri, 1 Oct 2021 22:53:50 +0000 (00:53 +0200)
committerFlorian Best <best@univention.de>
Fri, 1 Oct 2021 22:53:53 +0000 (00:53 +0200)
commitd28e288608889ab242b07495e8d4aeac9a6a6508
tree246d1da6b9e77b3adfa764287560fbeaf995321a
parent455eb2929210c3348afdcaa5568b52103865f736
fix[web]: disallow negative quality values in Accept-Language

`Accept-Language: en-US; q=-1` is not allowed. ignore it.
Even better would be to raise HTTP 400 Bad Request.
tornado/web.py