diff options
author | Barry Warsaw <barry@python.org> | 2001-10-25 22:43:46 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-10-25 22:43:46 (GMT) |
commit | 2539cf5aadd5c7d6ceb6e8db36c98ed83ca62b48 (patch) | |
tree | f739416fd490819f86fc025dd55a4d1597e2638a /Lib/email/Message.py | |
parent | e674ca737dc65a14ef8b417d198727a744e8d84c (diff) | |
download | cpython-2539cf5aadd5c7d6ceb6e8db36c98ed83ca62b48.zip cpython-2539cf5aadd5c7d6ceb6e8db36c98ed83ca62b48.tar.gz cpython-2539cf5aadd5c7d6ceb6e8db36c98ed83ca62b48.tar.bz2 |
A fix for SF bug #472560, extra newlines returned by get_param() when
the separating semi-colon shows up on a continuation line (legal, but
weird).
Bug reported and fixed by Matthew Cowles. Test case and sample email
included.
Diffstat (limited to 'Lib/email/Message.py')
-rw-r--r-- | Lib/email/Message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/Message.py b/Lib/email/Message.py index 00efbcc..6f0db85 100644 --- a/Lib/email/Message.py +++ b/Lib/email/Message.py @@ -17,7 +17,7 @@ import Errors import Utils SEMISPACE = '; ' -paramre = re.compile(r';\s*') +paramre = re.compile(r'\s*;\s*') |