httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9587] - Wrong icon with FancyIndexing
Date Fri, 07 Jun 2002 05:26:34 GMT
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=9587>.
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=9587

Wrong icon with FancyIndexing





------- Additional Comments From dpejesh@yahoo.com  2002-06-07 05:26 -------
The problem arises when mod_autoindex calls ap_sub_req_lookup_dirent on each of
the sub directories.  The returned request_rec.filename has the DirectoryIndex
file attached to it.  So, I figured it was best to strip that file off the end
of the rr.filename before passing it to find_icon.

The ap_is_directory call is far from necessary... all that's needed is
    rr->filename = ap_make_dirstr_parent (rr->pool, rr->filename);

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


Mime
View raw message