whatwg/fetch

Update Note on Request Destination / CSP directive

Aperta

#1466 aperta il 6 lug 2022

 (6 commenti) (0 reazioni) (0 assegnatari)HTML (401 fork)batch import
clarificationgood first issue

Metriche repository

Star
 (2249 stelle)
Metriche merge PR
 (Merge medio 66g 10h) (4 PR mergiate in 30 g)

Descrizione

https://fetch.spec.whatwg.org/#concept-request-destination shows the CSP directive for a specific destination. I think that list needs to be updated to Content Security Policy Level 3. For example the destination "script" should now be "script-src-elem". (ref https://w3c.github.io/webappsec-csp/#effective-directive-for-a-request)

Guida contributor