Commit 4684f599a946022207d19d6c9d753146f5c7d15b

Authored by David RENÉ
1 parent 28f30726

[!] 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.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
web/multihost_http_server.anubis
@@ -1674,7 +1674,7 @@ public define List(Web_arg) @@ -1674,7 +1674,7 @@ public define List(Web_arg)
1674 String s, //url_encoded string 1674 String s, //url_encoded string
1675 Int start //current position in string 1675 Int start //current position in string
1676 ) = 1676 ) =
1677 - with first = read_name_or_value(s, start, start), 1677 + with first = if start >= length(s) then "" else read_name_or_value(s, start, start),
1678 with name = web_to_ascii(first, 0, []), 1678 with name = web_to_ascii(first, 0, []),
1679 if first = "" then 1679 if first = "" then
1680 [] 1680 []