From: William A. Rowe Jr Date: Sat, 20 Aug 2016 00:53:38 +0000 (+0000) Subject: Surpress noise about syntax X-Git-Tag: 2.5.0-alpha~1243 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=862eeb83d397e8a28594c4d42133d69014558254;p=apache Surpress noise about syntax git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756978 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/gen_test_char.c b/server/gen_test_char.c index ed9620fe40..5003dc2962 100644 --- a/server/gen_test_char.c +++ b/server/gen_test_char.c @@ -143,9 +143,9 @@ int main(int argc, char *argv[]) * and unreserved (2.3) that are possible somewhere within a URI. * Spec requires all others to be %XX encoded, including obs-text. */ - if (c && strchr(":/?#[]@" /* gen-delims */ - "!$&'()*+,;=" /* sub-delims */ - "-._~", c) || apr_isalnum(c)) { /* unreserved */ + if (c && (strchr(":/?#[]@" /* gen-delims */ + "!$&'()*+,;=" /* sub-delims */ + "-._~", c) || apr_isalnum(c))) { /* unreserved */ flags |= T_URI_RFC3986; }