From: Stefan Eissing Date: Tue, 7 Jun 2016 09:59:27 +0000 (+0000) Subject: ap_casecmpstr strikes again... X-Git-Tag: 2.4.21~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c19c6115d101ece35aa4ae1a3c6a00cd2c0e55c;p=apache ap_casecmpstr strikes again... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1747181 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index 5be5c5aaff..7b2737c5ff 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -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; }