summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2022-11-11 07:09:55 -0500
committerLinus Groh <mail@linusgroh.de>2022-11-11 12:13:09 +0000
commit0175b5c584666e1c58f1abf51d5774553c2d9a5d (patch)
treee40de7b02e27e83fe5844a1e57c1aed032c7fdf6
parent31469ee45a449350460dc250d6962628638ce63e (diff)
downloadserenity-0175b5c584666e1c58f1abf51d5774553c2d9a5d.zip
LibWeb: Merge latest mimesniff spec update
Merges https://github.com/whatwg/mimesniff/commit/e589fcb71196, an editorial change...that fixes a comment typo!
-rw-r--r--Userland/Libraries/LibWeb/MimeSniff/MimeType.cpp2
1 files changed, 1 insertions, 1 deletions
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);