You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Cliff Skolnick <cl...@organic.com> on 1995/08/09 12:02:30 UTC

hmm, actually the bug was a multiview bug....

seems that in:

mod_negotiation.c:read_types_multi()

the following lines are problematic....

        /* Do we have a match? */

        if (strncmp (dir_entry->d_name, filp, prefix_len)) continue;
        if (dir_entry->d_name[prefix_len] != '.') continue;


if we didn't have language negotiation, then we would be saved since
we could get the dir_entry, strip off the ".*" and compare with
filp.  "index.old" != "index" so we would be safe.
This is not the case since index.html.en and index.html.fr are allowed
and "index.html" != "index", arg.

perhaps we should have index.html-en and index.html-fr or
something like that since there is now a problem trying to
figure out what to do.  Perhaps it is too late.

BUG

Cliff