Bug 547748: Wrong parsing of email_in emails if some @field has no data
r/a=mkanat git-svn-id: svn://10.0.0.236/branches/BUGZILLA-3_6-BRANCH@260933 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3d03faecaf
commit
e36f5c6b19
@ -1 +1 @@
|
||||
7148
|
||||
7149
|
||||
@ -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 =~ /^\@(\S+)\s*(?:=|\s|$)\s*(.*)\s*/) {
|
||||
$current_field = lc($1);
|
||||
$fields{$current_field} = $2;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user