diff options
author | Ankur Sundara <1sankur1@gmail.com> | 2022-07-09 03:13:37 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-13 22:52:10 +0200 |
commit | 400ef9913e340affb45ad134e049fa313ade0b00 (patch) | |
tree | 151a96aa1f9c8e9a4a3cba590483a4b8a8829705 /Userland/Utilities/run-tests.cpp | |
parent | 75a1442aac49d55a14f0fede1121fc76d1495492 (diff) | |
download | serenity-400ef9913e340affb45ad134e049fa313ade0b00.zip |
LibWeb: Fix regexes for XHR
Regexes for is_method and is_header_name did not escape the "-"
and unintentionally allowed for "," to be part of a
method/header name, not following the spec.
This commit escapes the "-" character to follow the spec.
Diffstat (limited to 'Userland/Utilities/run-tests.cpp')
0 files changed, 0 insertions, 0 deletions