diff options
author | mkanat%bugzilla.org <> | 2009-02-26 02:06:14 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-02-26 02:06:14 +0000 |
commit | b4765a3ca8eb898a752f4a77bc9d4a520ee499c7 (patch) | |
tree | 2156df78c41f0333fd49dcb3ef99109e7953d8c2 /email_in.pl | |
parent | Add qs_suffix to filterexceptions.pl, which was missed on checkin of the new ... (diff) | |
download | bugzilla-b4765a3ca8eb898a752f4a77bc9d4a520ee499c7.tar.gz bugzilla-b4765a3ca8eb898a752f4a77bc9d4a520ee499c7.tar.bz2 bugzilla-b4765a3ca8eb898a752f4a77bc9d4a520ee499c7.zip |
Bug 479446: email_in.pl wasn't splitting lines properly when they ended with CRLF (which is the actual RFC standard email line ending).
Patch by Eric Olson <Eric.Olson@adm.com> r=mkanat, a=mkanat
Diffstat (limited to 'email_in.pl')
-rw-r--r-- | email_in.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/email_in.pl b/email_in.pl index 1edce55d8..59a716a57 100644 --- a/email_in.pl +++ b/email_in.pl @@ -88,7 +88,7 @@ sub parse_mail { debug_print("Body:\n" . $body, 3); $body = remove_leading_blank_lines($body); - my @body_lines = split("\n", $body); + my @body_lines = split(/\r?\n/s, $body); # If there are fields specified. if ($body =~ /^\s*@/s) { |