Skip to content

Do not allow hash method mismatch in comsuming preloads - #7974

Merged
domenic merged 1 commit into
whatwg:mainfrom
hiroshige-g:DoNotAllowSRIMethodMismatch
Jun 3, 2022
Merged

domenic merged 1 commit into
whatwg:mainfrom
hiroshige-g:DoNotAllowSRIMethodMismatch

Conversation

@hiroshige-g

@hiroshige-g hiroshige-g commented Jun 1, 2022 •

Copy link
Copy Markdown
Contributor

Fixes #7973.

(See WHATWG Working Mode: Changes for more details.)


/links.html ( diff )

@domenic domenic added the topic: resource hints (inc. preload) preload, modulepreload, prefetch, preconnect, dns-prefetch, early hints and speculation rules label Jun 1, 2022

@domenic domenic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. My read is that Firefox is OK with this change and both Chromium and Safari implement it. Can you confirm for Firefox, @annevk?

@annevk

annevk commented Jun 2, 2022

Copy link
Copy Markdown
Member

Yeah, this makes sense.

cc @mozfreddyb

@domenic
domenic merged commit afcf6e5 into whatwg:main Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: resource hints (inc. preload) preload, modulepreload, prefetch, preconnect, dns-prefetch, early hints and speculation rules

Development

Successfully merging this pull request may close these issues.

Hash method mismatch in comsuming preloads can allow response not matching consumer's integrity

3 participants