Received: (qmail 53051 invoked by uid 501); 25 Oct 2000 17:38:01 -0000 Message-Id: <20001025173801.53050.qmail@locus.apache.org> Date: 25 Oct 2000 17:38:01 -0000 From: Sebastiano Vigna Reply-To: vigna@dsi.unimi.it To: submit@bugz.apache.org Subject: Directory listings contain nonvalid HTML code (IMG inside PRE) X-Send-Pr-Version: 3.110 >Number: 6745 >Category: mod_autoindex >Synopsis: Directory listings contain nonvalid HTML code (IMG inside PRE) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Oct 25 10:40:01 PDT 2000 >Closed-Date: Tue Aug 07 06:55:44 PDT 2001 >Last-Modified: Tue Aug 07 06:55:44 PDT 2001 >Originator: vigna@dsi.unimi.it >Release: 1.3.12 >Organization: >Environment: Linux gongolo.usr.dsi.unimi.it 2.2.16-3 #1 Mon Jun 19 18:49:25 EDT 2000 i686 unknown >Description: The directory listing produced by mod_autoindex has IMG elements into PRE elements. This is explicitly forbidden by the W3C specification of HTML 4.01 (IMG, OBJECT, APPLET, BIG, SMALL, SUB, SUP, FONT, BASEFONT cannot appear inside PRE). >How-To-Repeat: >Fix: mod_autoindex could generate a borderless table to align elements instead of using PRE. >Release-Note: >Audit-Trail: State-Changed-From-To: open-suspended State-Changed-By: slive State-Changed-When: Sat Oct 28 11:19:34 PDT 2000 State-Changed-Why: I'm marking this as "suspended" so that it can be looked at the next time someone modifies mod_autoindex. Unfortunately, I'm not sure your proposed solution will be appropriate since there are still browsers out there that do not support tabels. Thanks for the report. From: "Jeremy M. Dolan" To: apbugs@apache.org Cc: Subject: mod_autoindex/6745 Date: Wed, 15 Nov 2000 22:13:17 -0600 I submited a duplicate (PR 6852). Some info from it: Not only is this invalid in HTML 4.01, it is invalid in 3.2 (the DTD autoindex generates the page as). Also, the
's are invalid, as well as the 's. My proposed fix there was incorrect as causes a line break. I believe there is another tag in HTML which doesnt imply preformatation(!), but does specify the browser should use a fixed-space font. That might be what we need. State-Changed-From-To: suspended-closed State-Changed-By: wrowe State-Changed-When: Tue Aug 7 06:55:44 PDT 2001 State-Changed-Why: Apache 2.0.23 introduces SuppressIcon and SuppressRules to the IndexOptions directive. This allows you to turn off both non-conforming HTML 3.2 aspects. 2.0.23 also introduces HTMLTable output, in primative form, to allow you to include the images and
s in legal HTML. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]