httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 43649] mod_autoindex is generating invalid XHTML markup
Date Mon, 02 Jan 2012 21:28:36 GMT

Adam Gabryś <> changed:

           What    |Removed                     |Added
           Keywords|PatchAvailable              |
             Status|RESOLVED                    |REOPENED
           Platform|All                         |PC
            Version|2.2.6                       |2.2.21
         Resolution|FIXED                       |
         OS/Version|Linux                       |FreeBSD
           Severity|normal                      |trivial

--- Comment #8 from Adam Gabryś <> 2012-01-02 21:28:36 UTC ---
mod_autoindex is generating invalid XHTML 1.0 Transitional for fancy list.
IndexOptions Charset=utf-8 XHTML FancyIndexing FoldersFirst VersionSort
IndexHeadInsert "<meta http-equiv=\"content-type\" content=\"text/html;
charset=utf-8\" />"

HeaderName secret.html
ReadmeName secret.html

There is problem with hr markups:
document type does not allow element "hr" here; missing one of "button", "ins",
"del" start-tag

You can read it here:

Its should be outside pre markup. They are created in lines 1603-1608 and
1814-1819. Problem can be solved with replece specifed lines:
1604 -> ap_rputs("</pre><hr", r);
1608 -> ap_rputs("><pre>", r);
insert ap_rputs("</pre>\n", r); under 1813
1819 ap_rputs(">\n", r);
delete 1821, 1822, 1823

I don't test it, because I am a new FreeBSD and Apache user, and I not able to
do a lot of things now :/

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message