w3c / webappsec

Web Application Security Working Group repo
https://www.w3.org/groups/wg/webappsec/
Other
607 stars 148 forks source link

Make redirect for SRI spec include fragment ID #559

Closed sideshowbarker closed 3 years ago

sideshowbarker commented 4 years ago

This change makes the specs/subresourceintegrity/index.html file’s in-document redirect include any fragment ID in the target URL the request gets redirected to. That prevents any existing links like https://w3c.github.io/webappsec/specs/subresourceintegrity/#HTMLLinkElement (in, eg., MDN articles) from otherwise breaking.