Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Conversation

@exyi
Copy link

@exyi exyi commented Jan 25, 2023

Resolves #455 (also created by me, a year or so ago)

In short, <script src="data:..."> is pretty much equivalent to an inline script, except that it can be async, defer or ES module.
This PR whitelists data URI scheme as trusted, as Observatory currently considers it a script with insecure scheme, giving significant penalties for it.

The CI will fail, because it won't find Python 3.6, otherwise the tests should passed when I tried it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Subresource Integrity warning for scripts with data-uri

1 participant