-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Block additional "script" MIME types
When request's type is "script", this will make sure we also block MIME types starting with "audio/" or "video/", or MIME types that are text/csv. Due to browsers not paying any attention to "script" MIME types this is blocklist-based, but it's better than nothing. (Use `X-Content-Type-Options: nosniff` to make it safelist-based.) PR: #379
- Loading branch information
Showing
2 changed files
with
21 additions
and
5 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