mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 04:12:39 +00:00
Everywhere: Remove sv
suffix from format string literals
This prevents the compile-time checks that would catch errors in the format invocation (which would usually lead to a runtime crash).
This commit is contained in:
parent
917537b449
commit
f070264800
Notes:
github-actions[bot]
2025-04-09 00:01:12 +00:00
Author: https://github.com/trflynn89
Commit: f070264800
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4286
28 changed files with 51 additions and 51 deletions
|
@ -264,7 +264,7 @@ ErrorOr<SerializedFormData> serialize_to_multipart_form_data(Vector<XHR::FormDat
|
|||
StringBuilder builder;
|
||||
// 1. For each entry of entry list:
|
||||
for (auto const& entry : entry_list) {
|
||||
TRY(builder.try_append(TRY(String::formatted("--{}\r\n"sv, boundary))));
|
||||
TRY(builder.try_append(TRY(String::formatted("--{}\r\n", boundary))));
|
||||
|
||||
// Replace every occurrence of U+000D (CR) not followed by U+000A (LF), and every occurrence of U+000A (LF) not preceded by U+000D (CR) by a string consisting of a U+000D (CR) and U+000A (LF).
|
||||
auto normalized_name = TRY(normalize_line_breaks(entry.name));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue