Bug 584018: @foo= bar in email_in.pl is not parsed correctly, due to a missing whitespace before "="
r/a=mkanat git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260960 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1 +1 @@
|
|||||||
7364
|
7365
|
||||||
@@ -106,7 +106,7 @@ sub parse_mail {
|
|||||||
# Otherwise, we stop parsing fields on the first blank line.
|
# Otherwise, we stop parsing fields on the first blank line.
|
||||||
$line = trim($line);
|
$line = trim($line);
|
||||||
last if !$line;
|
last if !$line;
|
||||||
if ($line =~ /^\@(\S+)\s*(?:=|\s|$)\s*(.*)\s*/) {
|
if ($line =~ /^\@(\w+)\s*(?:=|\s|$)\s*(.*)\s*/) {
|
||||||
$current_field = lc($1);
|
$current_field = lc($1);
|
||||||
$fields{$current_field} = $2;
|
$fields{$current_field} = $2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user