summaryrefslogtreecommitdiff
path: root/wsgitools/internal.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2018-12-27 17:58:29 +0100
committerHelmut Grohne <helmut@subdivi.de>2018-12-27 17:58:29 +0100
commitbbdc0eb818eb26d5da0ec2ae6cf724332550e9a9 (patch)
tree2f93bc5faf8bea3a0f540d256941a5071950c7d6 /wsgitools/internal.py
parent7f1c15ee300a1212a27616c194fe0f293d2b7598 (diff)
downloadwsgitools-bbdc0eb818eb26d5da0ec2ae6cf724332550e9a9.tar.gz
fix ContentLengthMiddleware(..., maxstore=()) on Py3k
On Python 2.x, any integer sorts below the empty tuple. That was exploited in the maxstore parameter, but fails on Python 3 with a TypeError. Also add a regression test. Reported-by: Dominik Brodowski <mail@dominikbrodowski.net>
Diffstat (limited to 'wsgitools/internal.py')
0 files changed, 0 insertions, 0 deletions