agencyleroy/web-security

安装: 4

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 7

分支: 0

公开问题: 0

类型:craft-plugin

1.0.8 2019-11-13 08:11 UTC

This package is auto-updated.

Last update: 2024-09-13 19:01:00 UTC


README

允许您设置HTTP Strict Transport SecurityContent Security Policy头部,并配置它们的值。

此插件会自动为使用registerJsregisterCss添加的内联样式和脚本添加nonce属性,并添加一个{{ nonce() }}twig函数。

要求

此插件需要Craft CMS 3.0.0或更高版本。