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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc20c8d2c5337498a65b8c80c4c7ab95714464ed;p=thirdparty%2Fapache%2Fhttpd.git 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 c520aa1c49a..0fca44eda0c 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