mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
Make option "CacheDisable" in mod_cache case insensitive.
PR 54462 reported by Tianyin Xu [tixu cs ucsd edu] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1464721 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
2
modules/cache/mod_cache.c
vendored
2
modules/cache/mod_cache.c
vendored
@ -2095,7 +2095,7 @@ static const char *add_cache_disable(cmd_parms *parms, void *dummy,
|
||||
&cache_module);
|
||||
|
||||
if (parms->path) {
|
||||
if (!strcmp(url, "on")) {
|
||||
if (!strcasecmp(url, "on")) {
|
||||
dconf->disable = 1;
|
||||
dconf->disable_set = 1;
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user