Bug 332128: [BUGZILLA] BugzillaMailHandler incorrectly determines where comments start

Patch By Teemu Mannermaa <wicked+bz@etlicon.fi> r=mkanat
This commit is contained in:
mkanat%bugzilla.org 2006-11-19 01:50:03 +00:00
parent 2cc8767fee
commit ba4a43d40f

View File

@ -361,7 +361,7 @@ sub parse_mail ($) {
# Figure out where the diff table ends, and where comments start.
my $comments_start_at = 0;
foreach my $check_line (@body_lines) {
last if $check_line =~ /^-* Additional Comments From /;
last if $check_line =~ /^-+.*Comment.*From /i;
$comments_start_at++;
}