From aa6112daa6f9a0ef6a78756985945066bd9e6ecc Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Thu, 4 Apr 2013 20:13:19 +0000 Subject: [PATCH] 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 --- modules/cache/mod_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cache/mod_cache.c b/modules/cache/mod_cache.c index abee1e3663..173602fb56 100644 --- a/modules/cache/mod_cache.c +++ b/modules/cache/mod_cache.c @@ -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; -- 2.40.0