Commit b4765a3c authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 479446: email_in.pl wasn't splitting lines properly when they ended with…

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
parent 4faf790d
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment