Commit 05b3c450 authored by Georg Brandl's avatar Georg Brandl

Bug #1457823: cgi.(Sv)FormContentDict's constructor now takes

keep_blank_values and strict_parsing keyword arguments.
parent 8d1e5bff
......@@ -807,8 +807,10 @@ class FormContentDict(UserDict.UserDict):
form.dict == {key: [val, val, ...], ...}
"""
def __init__(self, environ=os.environ):
self.dict = self.data = parse(environ=environ)
def __init__(self, environ=os.environ, keep_blank_values=0, strict_parsing=0):
self.dict = self.data = parse(environ=environ,
keep_blank_values=keep_blank_values,
strict_parsing=strict_parsing)
self.query_string = environ['QUERY_STRING']
......
......@@ -63,6 +63,9 @@ Core and builtins
Library
-------
- Bug #1457823: cgi.(Sv)FormContentDict's constructor now takes
keep_blank_values and strict_parsing keyword arguments.
- Bug #1566602: correct failure of posixpath unittest when $HOME ends
with a slash.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment