diff options
author | Guido van Rossum <guido@python.org> | 1998-10-20 14:43:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-10-20 14:43:02 (GMT) |
commit | f5745008d2c78d3830e62cbd4e8f223fe69977c5 (patch) | |
tree | 58bd650fe54dce81a2ba4e2a11a0685c11bc1102 /Tools | |
parent | fbddddee49713f2141cfd0b17aa92ee8d16eca4a (diff) | |
download | cpython-f5745008d2c78d3830e62cbd4e8f223fe69977c5.zip cpython-f5745008d2c78d3830e62cbd4e8f223fe69977c5.tar.gz cpython-f5745008d2c78d3830e62cbd4e8f223fe69977c5.tar.bz2 |
Patch by Jim Fulton, who writes:
"""
The FieldStorage constructor calls the read_multi method. The read_multi
method creates new FieldStorage objects, re-invoking the constructor
(on the new objects). The problem is that the 'environ', 'keep_blank_values',
and 'strict_parsing' arguments originally passed to the constructor are not
propigated to the new object constructors. This causes os.environ to be used,
leading to a miss-handling of the parts.
I fixed this by passing these arguments to read_multi and then on to the
constructor. See the context diff below.
"""
Diffstat (limited to 'Tools')
0 files changed, 0 insertions, 0 deletions