From: mkanat%bugzilla.org <> Date: Fri, 17 Apr 2009 22:36:05 +0000 (+0000) Subject: Bug 487904 Allow email_in.pl to accept replies with localized or modified "Bug" in... X-Git-Tag: bugzilla-3.4rc1~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aed9e3c2a225c533e7591f99f6112b3e586fdb8d;p=thirdparty%2Fbugzilla.git Bug 487904 Allow email_in.pl to accept replies with localized or modified "Bug" in the header. Patch By Mikhail Gusarov r=mkanat, a=mkanat --- diff --git a/email_in.pl b/email_in.pl index 1e04e5c6a2..1f9a958c88 100644 --- a/email_in.pl +++ b/email_in.pl @@ -75,7 +75,7 @@ sub parse_mail { my ($reporter) = Email::Address->parse($input_email->header('From')); $fields{'reporter'} = $reporter->address; my $summary = $input_email->header('Subject'); - if ($summary =~ /\[Bug (\d+)\](.*)/i) { + if ($summary =~ /\[\S+ (\d+)\](.*)/i) { $fields{'bug_id'} = $1; $summary = trim($2); }