]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 487904 Allow email_in.pl to accept replies with localized or modified "Bug" in...
authormkanat%bugzilla.org <>
Fri, 17 Apr 2009 22:36:05 +0000 (22:36 +0000)
committermkanat%bugzilla.org <>
Fri, 17 Apr 2009 22:36:05 +0000 (22:36 +0000)
Patch By Mikhail Gusarov <dottedmag@altlinux.org> r=mkanat, a=mkanat

email_in.pl

index 1e04e5c6a2d10c630ac95735f98cfe92ddd5915c..1f9a958c88989b1ae45a09889ed09034d8b5ccc2 100644 (file)
@@ -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);
     }