Skip multiple (bogus) colons after header field name
Some (broken) implementation sends double-colons for certain fields, and this change makes vmime support that case.
This commit is contained in:
parent
b133ce8cfb
commit
7d00709077
@ -135,6 +135,7 @@ shared_ptr <headerField> headerField::parseNext
|
|||||||
buffer.begin() + nameEnd);
|
buffer.begin() + nameEnd);
|
||||||
|
|
||||||
// Skip ':' character
|
// Skip ':' character
|
||||||
|
while (pos < end && buffer[pos] == ':')
|
||||||
++pos;
|
++pos;
|
||||||
|
|
||||||
// Skip spaces between ':' and the field contents
|
// Skip spaces between ':' and the field contents
|
||||||
|
Loading…
Reference in New Issue
Block a user