summaryrefslogtreecommitdiffstats
path: root/email_in.pl
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-04-18 00:36:30 +0200
committermkanat%bugzilla.org <>2009-04-18 00:36:30 +0200
commit8c19360f8e75d680b44c23d6ac4434ee91e4726d (patch)
tree460d6c7b148c01e0bd7fa119d8b299ff664dc644 /email_in.pl
parent14b373c1b2a5182ed9ffa3a1bc8d8bf104311a12 (diff)
downloadbugzilla-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
Diffstat (limited to 'email_in.pl')
-rw-r--r--email_in.pl2
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);
}