--- parser3/src/classes/file.C 2002/06/18 11:12:05 1.86 +++ parser3/src/classes/file.C 2002/06/18 14:22:45 1.87 @@ -4,7 +4,7 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - $Id: file.C,v 1.86 2002/06/18 11:12:05 paf Exp $ + $Id: file.C,v 1.87 2002/06/18 14:22:45 paf Exp $ */ #include "pa_config_includes.h" @@ -192,10 +192,10 @@ static void _stat(Request& r, const Stri static bool is_safe_env_key(const char *key) { if(strnicmp(key, "HTTP_", 5)==0) return true; - if(strnicmp(key, "CGI_", 4)==0) + if(strncasecmp(key, "CGI_", 4)==0) return true; for(int i=0; suexec_safe_env_lst[i]; i++) { - if(stricmp(key, suexec_safe_env_lst[i])==0) + if(strcasecmp(key, suexec_safe_env_lst[i])==0) return true; } return false;