]> granicus.if.org Git - apache/commitdiff
Make option "CacheDisable" in mod_cache case insensitive.
authorChristophe Jaillet <jailletc36@apache.org>
Thu, 4 Apr 2013 20:13:19 +0000 (20:13 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Thu, 4 Apr 2013 20:13:19 +0000 (20:13 +0000)
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

index abee1e3663a33a9931b80c64e43da8986816eb93..173602fb5691f09b7695d2662db61c1860cec428 100644 (file)
@@ -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;