Handle parsing of a@b.c <e@f.g>
The behavior of current VMIME implementation will result in address a@b.c with an empty name. That is because the parsing is stopped whenever a wihtespace and a at-character is seen. We should continue the parsing to deduce the real address (e@f.g in the example).
This commit is contained in:
parent
680057bacd
commit
b73d765f51
@ -234,8 +234,6 @@ void mailbox::parseImpl
|
||||
|
||||
++p;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -245,10 +243,6 @@ void mailbox::parseImpl
|
||||
}
|
||||
else if (state == State_Address)
|
||||
{
|
||||
// Skip '<' character
|
||||
if (*p == '<')
|
||||
++p;
|
||||
|
||||
bool escaped = false;
|
||||
int comment = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user