From: Frédéric Buclin Date: Wed, 4 Aug 2010 00:11:03 +0000 (+0200) Subject: Bug 584018: @foo= bar in email_in.pl is not parsed correctly, due to a missing whites... X-Git-Tag: bugzilla-3.6.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9acd4136c5785ec1863fc20db3bf748501a18207;p=thirdparty%2Fbugzilla.git Bug 584018: @foo= bar in email_in.pl is not parsed correctly, due to a missing whitespace before "=" r/a=mkanat --- diff --git a/email_in.pl b/email_in.pl index f3172c760e..3cfbcfa3b7 100755 --- a/email_in.pl +++ b/email_in.pl @@ -106,7 +106,7 @@ sub parse_mail { # Otherwise, we stop parsing fields on the first blank line. $line = trim($line); last if !$line; - if ($line =~ /^\@(\S+)\s*(?:=|\s|$)\s*(.*)\s*/) { + if ($line =~ /^\@(\w+)\s*(?:=|\s|$)\s*(.*)\s*/) { $current_field = lc($1); $fields{$current_field} = $2; }