]> granicus.if.org Git - apache/commitdiff
don't call strchr(); we have a safer version -- ap_strchr_c()
authorJeff Trawick <trawick@apache.org>
Wed, 17 Apr 2002 13:06:32 +0000 (13:06 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 17 Apr 2002 13:06:32 +0000 (13:06 +0000)
Submitted by: Stas Bekman
Reviewed by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94677 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_include.c

index b663176575e7b07cd5ec6b03d364c656fe00b917..738b6bf5f46db8dba8c6569d5c43167cf721fc10 100644 (file)
@@ -1187,7 +1187,7 @@ static int is_only_below(const char *path)
         return 0;
 #endif
 #ifdef NETWARE
-    if (strchr(path, ':'))
+    if (ap_strchr_c(path, ':'))
         return 0;
 #endif
     if (path[0] == '/') {