From: Jeff Trawick Date: Wed, 17 Apr 2002 13:06:32 +0000 (+0000) Subject: don't call strchr(); we have a safer version -- ap_strchr_c() X-Git-Tag: 2.0.36~176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8afc887cae9e5f27548bbac7a5399a5840da5cf7;p=thirdparty%2Fapache%2Fhttpd.git don't call strchr(); we have a safer version -- ap_strchr_c() 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 --- diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index b663176575e..738b6bf5f46 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -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] == '/') {