diff options
author | mkanat%bugzilla.org <> | 2009-02-26 03:06:14 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-02-26 03:06:14 +0100 |
commit | b4765a3ca8eb898a752f4a77bc9d4a520ee499c7 (patch) | |
tree | 2156df78c41f0333fd49dcb3ef99109e7953d8c2 | |
parent | 4faf790d6d3cdc7964d97f631f7d42b79487af31 (diff) | |
download | bugzilla-b4765a3ca8eb898a752f4a77bc9d4a520ee499c7.tar.gz bugzilla-b4765a3ca8eb898a752f4a77bc9d4a520ee499c7.tar.xz |
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
-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) { |