You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/02/20 14:01:06 UTC

DO NOT REPLY [Bug 17210] - File Description taken fron wrong file

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17210>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17210

File Description taken fron wrong file





------- Additional Comments From trawick@apache.org  2003-02-20 13:01 -------
The reason you're getting the same description for both files is that
the filename on the AddDescription is treated as a partial filename, and
test.doc is a substring of both filenames, and the description for
test.doc happens to be found before the description for file-test.doc.
(See the doc at
http://httpd.apache.org/docs-2.0/mod/mod_autoindex.html#adddescription.)

You could reverse the order of your AddDescription entries and you should
get the right output (though I don't think that is guaranteed to work forever).

I tried to find a guaranteed way to always get the right description, but
I haven't had luck yet.  (Specifying a full filename instead of simply
"test.doc" has some unexpected behavior that I'm still investigating.)

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org