]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Added 'strict_parsing' option to all parsing functions. This causes a
authorGuido van Rossum <guido@python.org>
Mon, 11 Nov 1996 19:29:11 +0000 (19:29 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 11 Nov 1996 19:29:11 +0000 (19:29 +0000)
commite08c04c3871a58a59e931f23f4ff5a1165c8fd3e
tree91a5928ca9ad6485ecadd2a3de04b16d49f0517a
parent73eba25f5f9402f0ec276a1ce186df108fef984e
Added 'strict_parsing' option to all parsing functions.  This causes a
ValueError exception when the query string contains fields that don't
contain exactly one '=' sign.  (By default, such fields are simply
ignored.)  Added this to the doc string describing parse() and
parse_qs().

Also changed the default for keep_blank_values from None to 0 (the
preferred way to spell 'FALSE').
Lib/cgi.py