]> granicus.if.org Git - apache/commitdiff
ap_casecmpstr strikes again...
authorStefan Eissing <icing@apache.org>
Tue, 7 Jun 2016 09:59:27 +0000 (09:59 +0000)
committerStefan Eissing <icing@apache.org>
Tue, 7 Jun 2016 09:59:27 +0000 (09:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1747181 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index 5be5c5aaffd068e9f25486b3a68652921266e298..7b2737c5ff37e48ace0e5f1ca34949f46bb1fb79 100644 (file)
@@ -560,11 +560,11 @@ static unsigned is_absolute_uri(char *uri, int *supportsqs)
             *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;
         }