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.
This commit is contained in:
Barry Warsaw 2001-10-25 22:43:46 +00:00
parent e674ca737d
commit 2539cf5aad
3 changed files with 51 additions and 1 deletions

View file

@ -17,7 +17,7 @@ import Errors
import Utils
SEMISPACE = '; '
paramre = re.compile(r';\s*')
paramre = re.compile(r'\s*;\s*')