From 50323b43d6ee304b0fc41334cfc79acccf7074cb Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 22 Apr 2026 11:17:17 +0100 Subject: [PATCH] Fix #6597 --- core/net/url.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/net/url.odin b/core/net/url.odin index f20c41229..29028b16c 100644 --- a/core/net/url.odin +++ b/core/net/url.odin @@ -154,7 +154,7 @@ percent_decode :: proc(encoded_string: string, allocator := context.allocator) - strings.write_string(&b, s[:i]) s = s[i:] - if len(s) == 0 { + if len(s) <= 1 { return // percent without anything after it } s = s[1:]