From: William A. Rowe Jr Date: Fri, 29 Jul 2016 20:08:56 +0000 (+0000) Subject: Friendly catch by RĂ¼diger, restore line mis-removed by the previous commit X-Git-Tag: 2.5.0-alpha~1355 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49bca2c2fa1592ec1fbfe844de810244333ae387;p=apache Friendly catch by RĂ¼diger, restore line mis-removed by the previous commit git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1754568 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/gen_test_char.c b/server/gen_test_char.c index c08944836e..1db23b3ee5 100644 --- a/server/gen_test_char.c +++ b/server/gen_test_char.c @@ -124,6 +124,7 @@ int main(int argc, char *argv[]) * ASCII equivilants here */ if (!c || apr_iscntrl(c) || strchr(" \t()<>@,;:\\\"/[]?={}", c)) { + flags |= T_HTTP_TOKEN_STOP; } /* Catch CTRLs other than VCHAR, HT and SP, and obs-text (RFC7230 3.2)