diff options
author | Nova DasSarma <nova@novalinium.com> | 2018-09-19 09:26:47 -0500 |
---|---|---|
committer | Nova DasSarma <nova@novalinium.com> | 2018-09-19 09:26:47 -0500 |
commit | 8117b3f5a06b68afb292ddd19bf6ee6000707232 (patch) | |
tree | f2fd38fbc94e94d0c1c1147f2e4ba8d945a7bec1 /src/http/modules/ngx_http_autoindex_module.c | |
parent | ab9038af7eaf1ec67ae4ccc357e5c702b9cfc099 (diff) | |
download | nginx-8117b3f5a06b68afb292ddd19bf6ee6000707232.tar.gz nginx-8117b3f5a06b68afb292ddd19bf6ee6000707232.zip |
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.
Diffstat (limited to 'src/http/modules/ngx_http_autoindex_module.c')
-rw-r--r-- | src/http/modules/ngx_http_autoindex_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_autoindex_module.c b/src/http/modules/ngx_http_autoindex_module.c index 94b91db80..d59fba237 100644 --- 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_t *r, ngx_array_t *entries) static u_char header[] = "</title></head>" CRLF - "<body bgcolor=\"white\">" CRLF + "<body>" CRLF "<h1>Index of " ; |