This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dljessup
Recipients dljessup
Date 2007-08-24.20:54:34
SpamBayes Score 0.06998187
Marked as misclassified No
Message-id <1187988875.14.0.418310958626.issue1014@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 2.4.4, cgi.parse_qs(qs='', strict_parsing=True) errors out:

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/cgi.py", line 183, in parse_qs
    for name, value in parse_qsl(qs, keep_blank_values, strict_parsing):
  File "/usr/lib/python2.4/cgi.py", line 217, in parse_qsl
    raise ValueError, "bad query field: %r" % (name_value,)
ValueError: bad query field: ''

To the best of my knowledge, this is bad behavior, since a large
percentage of URLs actually used have empty query strings.
History
Date User Action Args
2007-08-24 20:54:35dljessupsetspambayes_score: 0.0699819 -> 0.06998187
recipients: + dljessup
2007-08-24 20:54:35dljessupsetspambayes_score: 0.0699819 -> 0.0699819
messageid: <1187988875.14.0.418310958626.issue1014@psf.upfronthosting.co.za>
2007-08-24 20:54:35dljessuplinkissue1014 messages
2007-08-24 20:54:34dljessupcreate