Discussion:
Patch to make 404 pages etc and autoindex pages use valid HTML
Andras Farkas
2018-11-27 05:19:31 UTC
Permalink
Hello!
The following two patches make it so that whenever nginx provides an
autoindexed page or a special response page, the HTML page sent uses
valid HTML.
This means browsers will use a standards-compliant mode rather than
quirks mode to render those pages.
Thanks for reading!
Maxim Dounin
2018-11-28 16:31:08 UTC
Permalink
Hello!
Post by Andras Farkas
Hello!
The following two patches make it so that whenever nginx provides an
autoindexed page or a special response page, the HTML page sent uses
valid HTML.
This means browsers will use a standards-compliant mode rather than
quirks mode to render those pages.
Thanks for reading!
Thank you for your patch.

Such a change will significantly modify typical rendering of error
pages, so I would rather refrain from it unless there are more
practical reasons than triggering standards-complaint mode instead
of quirks mode - which does no seem to make any difference for
pages nginx generates.
--
Maxim Dounin
http://mdounin.ru/
Loading...