forked from webhintio/hint
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New: Make
no-disallowed-headers
allow Server
For some servers such as Apache¹, the `Server` header cannot be removed without, for example, installing an external module². So, in order to better reflect reality, change `no-disallowed-headers` rule to allow by default the `Server` header, however limit what information its value can contain (namely, try to only allow the server name³). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ https://bz.apache.org/bugzilla/show_bug.cgi?id=40026 ² https://superuser.com/a/286825 ³ https://httpd.apache.org/docs/current/mod/core.html#servertokens Fix webhintio#747 Close webhintio#759
- Loading branch information
Showing
4 changed files
with
166 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters