diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-08-09 20:18:04 +0000 |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-08-09 20:18:04 +0000 |
commit | a5ba05cd31134287f7016cd66898c861f80256c0 (patch) | |
tree | b4628bd179b8497ab1ef4d7966ce24d6ce370dec /Lib/cgi.py | |
parent | bd13f457610c1aac6c4994858c23e039e1652862 (diff) | |
download | cpython-git-a5ba05cd31134287f7016cd66898c861f80256c0.tar.gz |
Merged revisions 83901 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83901 | senthil.kumaran | 2010-08-10 01:31:35 +0530 (Tue, 10 Aug 2010) | 3 lines
Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Changes in Modules.
........
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-x | Lib/cgi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py index 310dc02b3c..b4c620a9e4 100755 --- a/Lib/cgi.py +++ b/Lib/cgi.py @@ -132,7 +132,7 @@ def parse(fp=None, environ=os.environ, keep_blank_values=0, strict_parsing=0): environ : environment dictionary; default: os.environ keep_blank_values: flag indicating whether blank values in - URL encoded forms should be treated as blank strings. + percent-encoded forms should be treated as blank strings. A true value indicates that blanks should be retained as blank strings. The default false value indicates that blank values are to be ignored and treated as if they were @@ -411,7 +411,7 @@ class FieldStorage: environ : environment dictionary; default: os.environ keep_blank_values: flag indicating whether blank values in - URL encoded forms should be treated as blank strings. + percent-encoded forms should be treated as blank strings. A true value indicates that blanks should be retained as blank strings. The default false value indicates that blank values are to be ignored and treated as if they were |