From 8c19360f8e75d680b44c23d6ac4434ee91e4726d Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 17 Apr 2009 22:36:30 +0000 Subject: 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 --- email_in.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'email_in.pl') diff --git a/email_in.pl b/email_in.pl index 1e04e5c6a..1f9a958c8 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); } -- cgit v1.2.3-24-g4f1b