summaryrefslogtreecommitdiff
path: root/wsgitools/__init__.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2013-12-09 07:38:18 +0100
committerHelmut Grohne <helmut@subdivi.de>2013-12-09 07:38:18 +0100
commitc1ba0c783fc59dc8d00b9b8aed7250569bcc14d4 (patch)
treede5139a6f71f5403795caa20d237ba59815b5bcc /wsgitools/__init__.py
parent27ed9839582c4fce9a0fff82281fb2e302be808e (diff)
downloadwsgitools-c1ba0c783fc59dc8d00b9b8aed7250569bcc14d4.tar.gz
fix possible uncaught ValueError from scgi servers
With unicode strings it no longer holds that if s.isdigit() then you can safely int(s), because there are more digits (such as ^3 \xb3) accepted by isdigit. This can cause an uncaught ValueError in certain places if the remote scgi server presents bogus data. Thanks to Klaus Aehlig for pointing out what isdigit accepts.
Diffstat (limited to 'wsgitools/__init__.py')
0 files changed, 0 insertions, 0 deletions