summaryrefslogtreecommitdiff
path: root/doc/api/projects.md
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-06-22 23:07:18 +0000
committerRobert Speicher <robert@gitlab.com>2016-06-22 23:07:18 +0000
commit33fa50b1047d08b52896b9954f7106080616dd62 (patch)
tree8259256c056dca42e6c6d789932ee62be208e7f5 /doc/api/projects.md
parentcef021917f0fdf0fd3c24c41d6fd9ee1ed79e8d8 (diff)
parentbba1d2de3bc76bf65b4c2ded07e94ab0d7455bfd (diff)
downloadgitlab-ce-33fa50b1047d08b52896b9954f7106080616dd62.tar.gz
Merge branch 'sri' into 'master'
Add Subresource Integrity attribute to CSS and JS assets. This prevents compromised or malicious CDNs from modifying GitLab's assets. The hash provided by Rails is compared to the hash of the asset the browser has downloaded. The browser will refuse to execute/parse the assets if the hashes don't match. SRI is currently implemented in Firefox, Chrome, and Opera. This doesn't apply to the dynamically-generated per-page JavaScript due to [a bug in sprockets-rails](https://github.com/rails/sprockets-rails/issues/359). Unfortunately until there's a fix available we won't benefit fully from a security perspective. It's more secure. More information is available in #18230 and on MDN: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity Fixes #18230 See merge request !4808
Diffstat (limited to 'doc/api/projects.md')
0 files changed, 0 insertions, 0 deletions