You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2016/06/07 09:59:28 UTC

svn commit: r1747181 - /httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c

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;
         }