freeCodeCamp / freeCodeCamp/devdocs

Add integrity check to assets files served by CDN

Đang mở
#1,113 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
improvement
Ngôn ngữ chính
Ruby
Star
39.5k
Fork
2.6k
Merge trung bình
4 ngày 32 phút
Pull request đã merge (30 ngày)
13

Mô tả

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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.