aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-04-17 22:36:30 +0000
committermkanat%bugzilla.org <>2009-04-17 22:36:30 +0000
commit8c19360f8e75d680b44c23d6ac4434ee91e4726d (patch)
tree460d6c7b148c01e0bd7fa119d8b299ff664dc644 /email_in.pl
parentBug 482584: Add a parameter to hide the "See Also" field (diff)
downloadbugzilla-8c19360f8e75d680b44c23d6ac4434ee91e4726d.tar.gz
bugzilla-8c19360f8e75d680b44c23d6ac4434ee91e4726d.tar.bz2
bugzilla-8c19360f8e75d680b44c23d6ac4434ee91e4726d.zip
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);
}