diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2013-04-04 22:13:19 +0200 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2013-04-04 22:13:19 +0200 |
commit | aa6112daa6f9a0ef6a78756985945066bd9e6ecc (patch) | |
tree | 352404a94d9f3b97d125b7dd07501d2c1e123df4 /modules/cache | |
parent | align comment (diff) | |
download | apache2-aa6112daa6f9a0ef6a78756985945066bd9e6ecc.tar.xz apache2-aa6112daa6f9a0ef6a78756985945066bd9e6ecc.zip |
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
Diffstat (limited to 'modules/cache')
-rw-r--r-- | modules/cache/mod_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |