From 0175b5c584666e1c58f1abf51d5774553c2d9a5d Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 11 Nov 2022 07:09:55 -0500 Subject: [PATCH] LibWeb: Merge latest mimesniff spec update Merges https://github.com/whatwg/mimesniff/commit/e589fcb71196, an editorial change...that fixes a comment typo! --- Userland/Libraries/LibWeb/MimeSniff/MimeType.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/MimeSniff/MimeType.cpp b/Userland/Libraries/LibWeb/MimeSniff/MimeType.cpp index 95c2a05a85..9b60cc440c 100644 --- a/Userland/Libraries/LibWeb/MimeSniff/MimeType.cpp +++ b/Userland/Libraries/LibWeb/MimeSniff/MimeType.cpp @@ -206,7 +206,7 @@ String MimeType::serialized() const // 4. If value does not solely contain HTTP token code points or value is the empty string, then: if (!contains_only_http_token_code_points(value) || value.is_empty()) { - // 1. Precede each occurence of U+0022 (") or U+005C (\) in value with U+005C (\). + // 1. Precede each occurrence of U+0022 (") or U+005C (\) in value with U+005C (\). value = value.replace("\\"sv, "\\\\"sv, ReplaceMode::All); value = value.replace("\""sv, "\\\""sv, ReplaceMode::All);