django-pipeline
django-pipeline copied to clipboard
Add subresource integrity to script tag
Allow to integrate subresource-integrity attributes to
"crossorigin": "anonymous",
"integrity": "sha384",
Of course, "sha256" and "sha512" also works. Hashes are computed at runtime and cached to minimize code changes.
Cf. https://infosec.mozilla.org/guidelines/web_security#subresource-integrity
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
14b6d2c
) 82.35% compared to head (463a415
) 82.68%.
Additional details and impacted files
@@ Coverage Diff @@
## master #805 +/- ##
==========================================
+ Coverage 82.35% 82.68% +0.33%
==========================================
Files 33 33
Lines 1139 1155 +16
==========================================
+ Hits 938 955 +17
+ Misses 201 200 -1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.