Bug #6
last patch for indexfiles broke them for the *last* indexfile in the list
| Status: | Fixed | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | core | |||
| Target version: | - | |||
| Pending: | Resolution: | fixed |
||
Description
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