Tcl Library Source Code

View Ticket
Login
Ticket UUID: 7987932aaae1de26db7c2dcf82b6fba9b76e7e3b
Title: Tcllib/httpd: Directory listing & error pages try to load /images/etoyoc-banner.jpg (non-configurable)
Type: Bug Version: 1.20
Submitter: fpigorsch Created on: 2020-02-18 13:39:01
Subsystem: httpd Assigned To: hypnotoad
Priority: 5 Medium Severity: Important
Status: Open Last Modified: 2020-03-07 06:12:11
Resolution: None Closed By: nobody
    Closed on:
Description:
When producing a directory listing with Tcllib/httpd, the generated HTML code tries to display the (non-existent & unconfigurable) image '/images/etoyoc-banner.jpg':


<HTML><HEAD><TITLE>Listing of /test-directory/</TITLE></HEAD><BODY>
<div id="top-menu"><img src="/images/etoyoc-banner.jpg"></div><div id="content">
Listing contents of /test-directory/
<TABLE>
...
</TABLE>
</div><div id="footer"></div></BODY></HTML>

'DirectoryListing' calls 'html_header' (without additional 'args'), with then outputs the static banner image '/images/etoyoc-banner.jpg'.

The same holds for the error pages, but those can be overwritten by custom templates.
User Comments: aku added on 2020-02-18 17:32:27:
Assigned to Hypnotoad (author of the httpd code).
Fixed contact email (".," => ".").