From 0b0ea715a1e64f886af0b2b364c4c10973d80d92 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sun, 21 Jul 2013 06:21:23 +0000 Subject: [PATCH] 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 --- modules/mappers/mod_speling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0