You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2013/04/04 22:13:19 UTC
svn commit: r1464721 - /httpd/httpd/trunk/modules/cache/mod_cache.c
Author: jailletc36
Date: Thu Apr 4 20:13:19 2013
New Revision: 1464721
URL: http://svn.apache.org/r1464721
Log:
Case sensitive option in "CacheDisable" in mod_cache
PR 54462 reported by Tianyin Xu [tixu cs ucsd edu]
Modified:
httpd/httpd/trunk/modules/cache/mod_cache.c
Modified: httpd/httpd/trunk/modules/cache/mod_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_cache.c?rev=1464721&r1=1464720&r2=1464721&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache.c Thu Apr 4 20:13:19 2013
@@ -2095,7 +2095,7 @@ static const char *add_cache_disable(cmd
&cache_module);
if (parms->path) {
- if (!strcmp(url, "on")) {
+ if (!strcasecmp(url, "on")) {
dconf->disable = 1;
dconf->disable_set = 1;
return NULL;