Patch to make 404 pages etc and autoindex pages use valid HTML

Andras Farkas deepbluemistake at gmail.com
Tue Nov 27 05:19:31 UTC 2018


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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ngx_http_special_responsec.diff
Type: text/x-patch
Size: 9799 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20181127/b0804046/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ngx_http_autoindex_modulec.diff
Type: text/x-patch
Size: 390 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20181127/b0804046/attachment-0003.bin>


More information about the nginx-devel mailing list