From 8afc887cae9e5f27548bbac7a5399a5840da5cf7 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 17 Apr 2002 13:06:32 +0000 Subject: [PATCH] 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 --- modules/filters/mod_include.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index b663176575..738b6bf5f4 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] == '/') { -- 2.50.1