Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use HTTPS and specify Subresource Integrity hash for external assets #1020

Open
adborden opened this issue Oct 16, 2020 · 0 comments
Open

Use HTTPS and specify Subresource Integrity hash for external assets #1020

adborden opened this issue Oct 16, 2020 · 0 comments

Comments

@adborden
Copy link
Contributor

In order to ensure our users are receiving the third-party code we intended, SDG users want thrid-party JS ans CSS assets to use the HTTPS protocol and Subresource Integrity hashes.

In otherwords, update any third part assets from:

<script src="//code.jquery.com/jquery-3.5.1.min.js" crossorigin="anonymous"></script>

to:

<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant