comparison 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
comparison
equal deleted inserted replaced
7357:548a63b354a2 7358:170922952477
450 "<head><title>Index of " 450 "<head><title>Index of "
451 ; 451 ;
452 452
453 static u_char header[] = 453 static u_char header[] =
454 "</title></head>" CRLF 454 "</title></head>" CRLF
455 "<body bgcolor=\"white\">" CRLF 455 "<body>" CRLF
456 "<h1>Index of " 456 "<h1>Index of "
457 ; 457 ;
458 458
459 static u_char tail[] = 459 static u_char tail[] =
460 "</body>" CRLF 460 "</body>" CRLF