httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r1756978 - /httpd/httpd/trunk/server/gen_test_char.c
Date Sat, 20 Aug 2016 00:53:38 GMT
Author: wrowe
Date: Sat Aug 20 00:53:38 2016
New Revision: 1756978

URL: http://svn.apache.org/viewvc?rev=1756978&view=rev
Log:
Surpress noise about syntax

Modified:
    httpd/httpd/trunk/server/gen_test_char.c

Modified: httpd/httpd/trunk/server/gen_test_char.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/gen_test_char.c?rev=1756978&r1=1756977&r2=1756978&view=diff
==============================================================================
--- httpd/httpd/trunk/server/gen_test_char.c (original)
+++ httpd/httpd/trunk/server/gen_test_char.c Sat Aug 20 00:53:38 2016
@@ -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;
         }
 



Mime
View raw message