You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "Jeremy M.Dolan" <jm...@turbogeek.org> on 2000/11/16 02:42:18 UTC
mod_autoindex/6852: mod_autoindex generates invalid HTML
>Number: 6852
>Category: mod_autoindex
>Synopsis: mod_autoindex generates invalid HTML
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Wed Nov 15 17:50:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: jmd@turbogeek.org
>Release: 1.3.12
>Organization:
apache
>Environment:
Tested on Solaris and Linux, with Apache 1.3.9 and 1.3.12.
>Description:
mod_autoindex generates its whole index inside <pre>. The module spits out a page which claims to be "HTML 3.2 Final". Inside the <pre> are <img> and <hr> tags which are not allowed.
>How-To-Repeat:
Here's the output of W3C's validator:
http://validator.w3.org/check?uri=http%3A%2F%2Fturbogeek.org&ss=&outline=&sp=
>Fix:
Messy, but I suppose changing:
<hr> -> </pre><hr><pre>
<img ...> -> </pre><img ...><pre>
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]