diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-12-09 07:38:18 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-12-09 07:38:18 +0100 |
commit | c1ba0c783fc59dc8d00b9b8aed7250569bcc14d4 (patch) | |
tree | de5139a6f71f5403795caa20d237ba59815b5bcc /wsgitools/__init__.py | |
parent | 27ed9839582c4fce9a0fff82281fb2e302be808e (diff) | |
download | wsgitools-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