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/trunk@260933 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b36b1c69aa
commit
4dd044b6a9
@ -1 +1 @@
|
||||
7409
|
||||
7410
|
||||
@ -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