codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62989] New: HTML generated by Apache httpd itself is often invalid or uses ancient doctypes (and patches to fix that)


https://bz.apache.org/bugzilla/show_bug.cgi?id=62989

            Bug ID: 62989
           Summary: HTML generated by Apache httpd itself is often invalid
                    or uses ancient doctypes (and patches to fix that)
           Product: Apache httpd-2
           Version: 2.4.37
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: deepbluemistake@xxxxxxxxx
  Target Milestone: ---

Created attachment 36299
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36299&action=edit
Patch that adds important doctypes to the doctype defines

Hello!
I noticed that most of the time, when Apache httpd itself generates HTML output
(like for 404 pages and autoindex pages) it uses ancient HTML 2.0 and HTML 3.2
doctypes.
These 11 attached diffs update those. The most important of these diffs is
httpdh.diff
I compiled and tested these diffs, and everything I tested works fine! Browsers
now render those pages in standards mode rather than quirks mode.
While I made these patches for httpd 2.4.37 these patches would likely also be
useful for trunk.
This could be the first step in making sure all the HTML output is more valid.
I also originally sent this here:
https://lists.apache.org/thread.html/e906a9ac878dc7de35d875006b6714c9fc8b0812e6780c8286fe6c66@%3Cdev.httpd.apache.org%3E
Thanks for reading!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx