You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2013/07/21 08:21:23 UTC
svn commit: r1505279 - /httpd/httpd/trunk/modules/mappers/mod_speling.c
Author: jailletc36
Date: Sun Jul 21 06:21:23 2013
New Revision: 1505279
URL: http://svn.apache.org/r1505279
Log:
Correct the behaviour of CheckCaseOnly in mod_speling, according to the doc.
PR 44221 [Rainer Perske <perske uni-muenster de>]
Modified:
httpd/httpd/trunk/modules/mappers/mod_speling.c
Modified: httpd/httpd/trunk/modules/mappers/mod_speling.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_speling.c?rev=1505279&r1=1505278&r2=1505279&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_speling.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_speling.c Sun Jul 21 06:21:23 2013
@@ -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