summaryrefslogtreecommitdiff
path: root/AK/URLParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AK/URLParser.cpp')
-rw-r--r--AK/URLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/URLParser.cpp b/AK/URLParser.cpp
index 1329272106..1a00334466 100644
--- a/AK/URLParser.cpp
+++ b/AK/URLParser.cpp
@@ -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);
}