diff options
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-x | Lib/cgi.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py index 7c3d657943..fb40ed36a3 100755 --- a/Lib/cgi.py +++ b/Lib/cgi.py @@ -338,6 +338,7 @@ def parse_header(line): value = p[i+1:].strip() if len(value) >= 2 and value[0] == value[-1] == '"': value = value[1:-1] + value = value.replace('\\\\', '\\').replace('\\"', '"') pdict[name] = value return key, pdict |