Skip to content

fix(sri): consider proto-relative URLs secure on HTTPS#497

Draft
caugner wants to merge 3 commits intomainfrom
464-protocol-relative-urls-with-https
Draft

fix(sri): consider proto-relative URLs secure on HTTPS#497
caugner wants to merge 3 commits intomainfrom
464-protocol-relative-urls-with-https

Conversation

@caugner
Copy link
Copy Markdown
Contributor

@caugner caugner commented Apr 10, 2026

Description

Updates the subresource-integrity analyzer test, considering protocol-relative URLs secure on HTTPS if the site redirects from HTTP to HTTPS.

Motivation

Avoid punishing of protocol-relative URLs.

Additional details

Draft, to be discussed internally before moving forward.

Related issues and pull requests

Fixes #464

@caugner caugner force-pushed the 464-protocol-relative-urls-with-https branch from d52fe97 to a74f343 Compare April 10, 2026 17:01
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

Successfully merging this pull request may close these issues.

SRI: Why are protocol-relative urls punished so hard

2 participants