diff src/http/modules/ngx_http_autoindex_module.c @ 7358:170922952477

Removed bgcolor attribute on body in error pages and autoindex. The bgcolor attribute overrides compatibility settings in browsers and leads to undesirable behavior when the default font color is set to white in the browser, since font-color is not also overridden.
author Nova DasSarma <nova@novalinium.com>
date Wed, 19 Sep 2018 09:26:47 -0500
parents 044cb349fd3c
children 061ec464813f
line wrap: on
line diff
--- a/src/http/modules/ngx_http_autoindex_module.c
+++ b/src/http/modules/ngx_http_autoindex_module.c
@@ -452,7 +452,7 @@ ngx_http_autoindex_html(ngx_http_request
 
     static u_char  header[] =
         "</title></head>" CRLF
-        "<body bgcolor=\"white\">" CRLF
+        "<body>" CRLF
         "<h1>Index of "
     ;