Commit 8c19360f authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

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
parent 14b373c1
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment