freeCodeCamp / freeCodeCamp/devdocs

Add integrity check to assets files served by CDN

Open
#1,113 0 comments 1 reaction 0 assignees View on GitHub
improvement
Dominant language
Ruby
Stars
39.5k
Forks
2.6k
Avg merge
4d 32m
Merged PRs (30d)
13

Description

We can add the [`integrity` attribute to the ``](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity). Sprockets already [supports that feature](https://www.rubydoc.info/github/rails/sprockets/Sprockets/DigestUtils:integrity_uri), the only required change is on the `stylesheet_tag` helper.

_Originally posted by @eloyesp in https://github.com/freeCodeCamp/devdocs/issues/1112#issuecomment-543292784_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.