mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-04-30 18:59:31 +08:00
typo
This commit is contained in:
parent
330de1dee2
commit
18bcdecbbb
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ photo: /2022-07-31-reading-7/july.webp
|
||||||
2. 在 meta 标签中声明
|
2. 在 meta 标签中声明
|
||||||
- 具体配置中:
|
- 具体配置中:
|
||||||
1. 如果同一个限制选项使用多次,只有第一次会生效。
|
1. 如果同一个限制选项使用多次,只有第一次会生效。
|
||||||
2. `script-src`和`bject-src`是必设的,除非设置了`default-src`。
|
2. `script-src`和`object-src`是必设的,除非设置了`default-src`。
|
||||||
3. `script-src`不能使用`unsafe-inline`关键字(除非伴随一个`nonce`值),也不能允许设置`data:URL`。
|
3. `script-src`不能使用`unsafe-inline`关键字(除非伴随一个`nonce`值),也不能允许设置`data:URL`。
|
||||||
- 补充阅读:
|
- 补充阅读:
|
||||||
- [Web Security](https://infosec.mozilla.org/guidelines/web_security#content-security-policy)
|
- [Web Security](https://infosec.mozilla.org/guidelines/web_security#content-security-policy)
|
||||||
|
|
Loading…
Reference in a new issue