unsure why this was left as a TODO, fix seems trivial (EG: please check)

This commit is contained in:
Christian Grothoff
2022-06-07 17:41:54 +02:00
parent 82abaee62f
commit 711099c7ea
+1 -1
View File
@@ -3116,7 +3116,7 @@ parse_cookie_header (struct MHD_Connection *connection)
hdr_len);
cpy[hdr_len] = '\0';
strict_parsing = false; /* TODO: make it configurable */
strict_parsing = (1 == connection->daemon->strict_for_client);
i = 0;
/* Skip all initial whitespaces */
while (i < hdr_len && (' ' == cpy[i] || '\t' == cpy[i]))