1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00

LibIMAP: Fix Parser::parse_disposition()

It didn't consume the initial opening "(" before.
This commit is contained in:
Valtteri Koskivuori 2023-07-31 23:52:59 +03:00 committed by Andrew Kaster
parent 35f1cec7ca
commit 2b23f3f216

View file

@ -561,6 +561,7 @@ Vector<DeprecatedString> Parser::parse_langs()
} }
Tuple<DeprecatedString, HashMap<DeprecatedString, DeprecatedString>> Parser::parse_disposition() Tuple<DeprecatedString, HashMap<DeprecatedString, DeprecatedString>> Parser::parse_disposition()
{ {
consume("("sv);
auto disposition_type = parse_string(); auto disposition_type = parse_string();
consume(" "sv); consume(" "sv);
auto disposition_vals = parse_body_fields_params(); auto disposition_vals = parse_body_fields_params();