summaryrefslogtreecommitdiff
path: root/Lib/email/message.py
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2011-01-07 21:57:25 +0000
committerR. David Murray <rdmurray@bitdance.com>2011-01-07 21:57:25 +0000
commit6f0022d84af15d51ffa1606991f2b6e9e56448ed (patch)
treea47fdc84c7487741c7f07b3612f96e70facd677f /Lib/email/message.py
parent7088abdca6c3e1285c66f51fe907e6c3446773ed (diff)
downloadcpython-git-6f0022d84af15d51ffa1606991f2b6e9e56448ed.tar.gz
Fix formatting of values with embedded newlines when rfc2047 encoding
Before this patch if a value being encoded had an embedded newline, the line following the newline would have no leading whitespace, and the whitespace it did have was encoded into the word. Now the existing whitespace gets turned into a blank, the way it does in other header reformatting, and the _continuation_ws gets added at the beginning of the encoded line.
Diffstat (limited to 'Lib/email/message.py')
0 files changed, 0 insertions, 0 deletions