mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
unsure why this was left as a TODO, fix seems trivial (EG: please check)
This commit is contained in:
@@ -3116,7 +3116,7 @@ parse_cookie_header (struct MHD_Connection *connection)
|
|||||||
hdr_len);
|
hdr_len);
|
||||||
cpy[hdr_len] = '\0';
|
cpy[hdr_len] = '\0';
|
||||||
|
|
||||||
strict_parsing = false; /* TODO: make it configurable */
|
strict_parsing = (1 == connection->daemon->strict_for_client);
|
||||||
i = 0;
|
i = 0;
|
||||||
/* Skip all initial whitespaces */
|
/* Skip all initial whitespaces */
|
||||||
while (i < hdr_len && (' ' == cpy[i] || '\t' == cpy[i]))
|
while (i < hdr_len && (' ' == cpy[i] || '\t' == cpy[i]))
|
||||||
|
|||||||
Reference in New Issue
Block a user