[Python-bugs-list] [Bug #129788] cgi module. FieldStorage class returns keys blank fields.
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 23 Jan 2001 01:28:02 -0800
Bug #129788, was updated on 2001-Jan-23 01:28
Here is a current snapshot of the bug.
Project: Python
Category: Python Library
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : nobody
Summary: cgi module. FieldStorage class returns keys blank fields.
Details: In module cgi.py
The FieldStorage class returns keys for blank values even though the
keep_blank_values property is set to 0
The problem lies in the parse_qsl method.
The second last line of the function
r.append((name, value))
should read
if (len(value) or keep_blank_values):
r.append((name, value))
I hope this can be corrected.
Thanks
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=129788&group_id=5470