mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
LibWeb: Make Fetch::collect_an_http_quoted_string()'s 2nd param optional
This commit is contained in:
parent
fad69fcacd
commit
f42f0cceaa
2 changed files with 2 additions and 2 deletions
|
@ -279,7 +279,7 @@ Optional<Vector<String>> XMLHttpRequest::get_decode_and_split(String const& head
|
|||
// 1. If the code point at position within input is U+0022 ("), then:
|
||||
if (lexer.peek() == '"') {
|
||||
// 1. Append the result of collecting an HTTP quoted string from input, given position, to value.
|
||||
auto quoted_value_part = Fetch::collect_an_http_quoted_string(lexer, Fetch::HttpQuotedStringExtractValue::No);
|
||||
auto quoted_value_part = Fetch::collect_an_http_quoted_string(lexer);
|
||||
value.append(quoted_value_part);
|
||||
|
||||
// 2. If position is not past the end of input, then continue.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue