diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c index fbe621c4..a7085767 100644 --- a/src/microhttpd/response.c +++ b/src/microhttpd/response.c @@ -167,9 +167,9 @@ add_response_entry (struct MHD_Response *response, (0 == header[0]) || (0 == content[0]) || (NULL != strchr (header, '\t')) || + (NULL != strchr (header, ' ')) || (NULL != strchr (header, '\r')) || (NULL != strchr (header, '\n')) || - (NULL != strchr (content, '\t')) || (NULL != strchr (content, '\r')) || (NULL != strchr (content, '\n')) ) return MHD_NO;