From: Christophe Jaillet Date: Sun, 21 Jul 2013 06:21:23 +0000 (+0000) Subject: Correct the behaviour of CheckCaseOnly in mod_speling, according to the doc. X-Git-Tag: 2.5.0-alpha~5234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b0ea715a1e64f886af0b2b364c4c10973d80d92;p=apache Correct the behaviour of CheckCaseOnly in mod_speling, according to the doc. PR 44221 [Rainer Perske ] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1505279 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_speling.c b/modules/mappers/mod_speling.c index c520aa1c49..0fca44eda0 100644 --- a/modules/mappers/mod_speling.c +++ b/modules/mappers/mod_speling.c @@ -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