diff options
author | 2022-05-08 01:12:13 -0700 | |
---|---|---|
committer | 2022-05-08 01:12:13 -0700 | |
commit | 97cceb47b9fb14fbf8cb45a28038934b6416e8ef (patch) | |
tree | 250c430effeff27b5d37070f7c647bd1bfd7477b /src/javascript/jsc/bindings/URLDecomposition.cpp | |
parent | 94637711b9f558576ffebe2f5dd834dc05a95f7b (diff) | |
download | bun-97cceb47b9fb14fbf8cb45a28038934b6416e8ef.tar.gz bun-97cceb47b9fb14fbf8cb45a28038934b6416e8ef.tar.zst bun-97cceb47b9fb14fbf8cb45a28038934b6416e8ef.zip |
Upgrade WebKit
Diffstat (limited to 'src/javascript/jsc/bindings/URLDecomposition.cpp')
-rw-r--r-- | src/javascript/jsc/bindings/URLDecomposition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/javascript/jsc/bindings/URLDecomposition.cpp b/src/javascript/jsc/bindings/URLDecomposition.cpp index db2bb7f81..eb21e36c8 100644 --- a/src/javascript/jsc/bindings/URLDecomposition.cpp +++ b/src/javascript/jsc/bindings/URLDecomposition.cpp @@ -233,7 +233,7 @@ void URLDecomposition::setSearch(const String& value) } else { String newSearch = value; // Make sure that '#' in the query does not leak to the hash. - fullURL.setQuery(newSearch.replaceWithLiteral('#', "%23")); + fullURL.setQuery(makeStringByReplacingAll(value, '#', "%23"_s)); } setFullURL(fullURL); } |