Bug 10880

Summary: auto index generates invalad html
Product: Apache httpd-2 Reporter: nutso
Component: mod_autoindexAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: CLOSED FIXED    
Severity: minor CC: nutso
Priority: P3    
Version: 2.0-HEAD   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description nutso 2002-07-16 21:35:40 UTC
1. when the query string contains paramaters other than C and O the colum
headers seperate aditional parameters with a bare ampersand, instad of the &amp;
entity.
<a href="?C=N&amp;O=D&F=1">Name</a>

2. IMG and HR tags are not allowed in pre sections. I recomend changing the
standard.

3. the title atribute to the td tag was not introduced in html 3.2. Recomend
changing doc type to html 4.01 transitional.
Comment 1 Cliff Woolley 2002-07-16 21:47:35 UTC
1. yes I agree that's a bug 2. there are IndexOptions to make the output HTML3.2 compliant (which fix    those issues in particular) 3. if you use the appropriate IndexOptions, the output *will* validate with    validator.w3.org 
Comment 2 nutso 2002-07-16 22:04:04 UTC
I probably should clarify that point three only applies to table view.
Comment 3 André Malo 2003-03-02 18:53:20 UTC
Item 1 has been fixed in 2.1 and is proposed for backport.
Item 2 ... ehm? what standard? html? agreed. ;-) As said you can use
IndexOptions to fix that issues. For backwards compat we should stick with the
current defaults.
Item 3 doesn't appear in the current tree so I'm assuming it fixed already.

I'm marking this report as fixed. Thanks for using Apache!
Comment 4 André Malo 2003-04-23 17:11:32 UTC
FYI: it's now merged into the 2.0 stable tree and will be in the next release.