diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2004-07-19 15:38:11 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2004-07-19 15:38:11 (GMT) |
commit | 66edb6295f956af9c559ef037c5016c9f6b64261 (patch) | |
tree | 8aa6adeef3e152e189752fab16046dfe477bb306 /Lib/test/output | |
parent | 36a0f89c37f535254043712168cd9c0a4f1a7f40 (diff) | |
download | cpython-66edb6295f956af9c559ef037c5016c9f6b64261.zip cpython-66edb6295f956af9c559ef037c5016c9f6b64261.tar.gz cpython-66edb6295f956af9c559ef037c5016c9f6b64261.tar.bz2 |
Don't return spurious empty fields if 'keep_empty_values' is True.
Fixes SF bug #990307.
Diffstat (limited to 'Lib/test/output')
-rw-r--r-- | Lib/test/output/test_cgi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Lib/test/output/test_cgi b/Lib/test/output/test_cgi index 3741c22..d5d6f75 100644 --- a/Lib/test/output/test_cgi +++ b/Lib/test/output/test_cgi @@ -1,4 +1,15 @@ test_cgi +'' => [] +'&' => [] +'&&' => [] +'=' => [('', '')] +'=a' => [('', 'a')] +'a' => [('a', '')] +'a=' => [('a', '')] +'a=' => [('a', '')] +'&a=b' => [('a', 'b')] +'a=a+b&b=b+c' => [('a', 'a b'), ('b', 'b c')] +'a=1&a=2' => [('a', '1'), ('a', '2')] '' '&' '&&' |