Project

General

Profile

Actions

Bug #6

closed

last patch for indexfiles broke them for the *last* indexfile in the list

Added by Anonymous about 19 years ago. Updated about 17 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

http://trac.lighttpd.net/trac/changeset/10#file1

Seems like that patch broke a part of the indexfiles.
If matching only on the last specified indexfile I always got to the directory-index-part
and got a 403 because of that.
The removed code hat a "break;" in it which broke out at once of the for-loop.
Now it loops one more time therefore k is one number too high.

I got this "fixed" by changing the check for directory-index from:

if (k con->conf.indexfiles->used) {[BR]
... to ...

if (!found && k con->conf.indexfiles->used) {[BR]

Don't know if thats the proper fix but at least it works now again for me.

Thomas

-- thomas.seifert

Actions #1

Updated by Anonymous about 19 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Patch is correct. See r14

Added a testcase for it.

-- jan

Actions

Also available in: Atom