]> granicus.if.org Git - apache/commitdiff
Correct the behaviour of CheckCaseOnly in mod_speling, according to the doc.
authorChristophe Jaillet <jailletc36@apache.org>
Sun, 21 Jul 2013 06:21:23 +0000 (06:21 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sun, 21 Jul 2013 06:21:23 +0000 (06:21 +0000)
PR 44221 [Rainer Perske <perske uni-muenster de>]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1505279 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_speling.c

index c520aa1c49a161ec443811105355fd5bf7a22c8a..0fca44eda0cfcc1a37725e1e0de2110593a06997 100644 (file)
@@ -330,7 +330,7 @@ static int check_speling(request_rec *r)
          * > it would locate "foobar.html". Not perfect, but I ran into
          * > that problem when I first wrote the module.
          */
-        else {
+        else if (cfg->case_only == 0) {
 #ifdef WANT_BASENAME_MATCH
             /*
              * Okay... we didn't find anything. Now we take out the hard-core