mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:27:45 +00:00
LibIMAP: Don't parse starting space directly in parse_envelope
Makes parse_envelope() look like the defined ABNF rule and the parser will no longer try to consume double spaces in body-type-msg.
This commit is contained in:
parent
e9cf35fd60
commit
4a92d712ea
1 changed files with 2 additions and 1 deletions
|
@ -299,6 +299,7 @@ FetchResponseData Parser::parse_fetch_response()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case FetchCommand::DataItemType::Envelope: {
|
case FetchCommand::DataItemType::Envelope: {
|
||||||
|
consume(" "sv);
|
||||||
fetch_response.set_envelope(parse_envelope());
|
fetch_response.set_envelope(parse_envelope());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue