github / github/secure_headers
nonced tag helpers including nonce directive in csp has potential to break applications
未关闭
- 主要语言
- Ruby
- 星标
- 3.2k
- 派生
- 253
- 平均合并
- 19 小时 11 分钟
- 30 天内合并 PR
- 1
描述
# Bugs
## Nonced tag helpers including nonce directive in csp has potential to break applications
### Problem
Given an application with inline script tags, and a CSP that allows them with `'unsafe-inline'`, using `nonced_javascript_tag` will cause a nonce directive to appear in the CSP header. Modern browsers will then ignore the `'unsafe-inline'` directive and all other script tags without a nonce will cease to be executed.
贡献指南
评估
这个 Issue 还没有评估数据。