httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1747181 - /httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c
Date Tue, 07 Jun 2016 09:59:28 GMT
Author: icing
Date: Tue Jun  7 09:59:27 2016
New Revision: 1747181

URL: http://svn.apache.org/viewvc?rev=1747181&view=rev
Log:
ap_casecmpstr strikes again...

Modified:
    httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c

Modified: httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c?rev=1747181&r1=1747180&r2=1747181&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c Tue Jun  7 09:59:27 2016
@@ -560,11 +560,11 @@ static unsigned is_absolute_uri(char *ur
             *sqs = 1;
             return 8;
         }
-        else if (!ap_casecmpstrn(uri, "2://", 4)) {    /* h2://     */
+        else if (!strncasecmp(uri, "2://", 4)) {    /* h2://     */
             *sqs = 1;
             return 5;
         }
-        else if (!ap_casecmpstrn(uri, "2c://", 5)) {   /* h2c://    */
+        else if (!strncasecmp(uri, "2c://", 5)) {   /* h2c://    */
             *sqs = 1;
             return 6;
         }



Mime
View raw message