From 4684f599a946022207d19d6c9d753146f5c7d15b Mon Sep 17 00:00:00 2001 From: totoro Date: Sun, 21 Sep 2025 12:10:28 +0900 Subject: [PATCH] [!] fix a long standing annoyance message (should not happen in substring). So fix the read_www_url_encoded_web_args to let the function to search after the end of the string. --- web/multihost_http_server.anubis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/multihost_http_server.anubis b/web/multihost_http_server.anubis index 78eb5e3..0ccb4c5 100644 --- a/web/multihost_http_server.anubis +++ b/web/multihost_http_server.anubis @@ -1674,7 +1674,7 @@ public define List(Web_arg) String s, //url_encoded string Int start //current position in string ) = - with first = read_name_or_value(s, start, start), + with first = if start >= length(s) then "" else read_name_or_value(s, start, start), with name = web_to_ascii(first, 0, []), if first = "" then [] -- libgit2 0.21.4