1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:38:10 +00:00

AK: Use new format functions.

This commit is contained in:
asynts 2020-10-07 14:02:42 +02:00 committed by Andreas Kling
parent 560c52989c
commit 1d96d5eea4
13 changed files with 74 additions and 91 deletions

View file

@ -96,7 +96,7 @@ String urlencode(const StringView& input)
for (char ch : input) {
if (in_userinfo_set((u8)ch)) {
builder.append('%');
builder.appendf("%02X", (u8)ch);
builder.appendff("{:02X}", ch);
} else {
builder.append(ch);
}