diff options
author | mkanat%bugzilla.org <> | 2009-04-18 00:36:30 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-04-18 00:36:30 +0200 |
commit | 8c19360f8e75d680b44c23d6ac4434ee91e4726d (patch) | |
tree | 460d6c7b148c01e0bd7fa119d8b299ff664dc644 | |
parent | 14b373c1b2a5182ed9ffa3a1bc8d8bf104311a12 (diff) | |
download | bugzilla-8c19360f8e75d680b44c23d6ac4434ee91e4726d.tar.gz bugzilla-8c19360f8e75d680b44c23d6ac4434ee91e4726d.tar.xz |
Bug 487904 Allow email_in.pl to accept replies with localized or modified "Bug" in the header.
Patch By Mikhail Gusarov <dottedmag@altlinux.org> 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 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); } |