whatwg/fetch

Update Note on Request Destination / CSP directive

Aberta

#1.466 aberto em 6 de jul. de 2022

 (6 comentários) (0 reação) (0 responsável)HTML (401 forks)batch import
clarificationgood first issue

Métricas do repositório

Stars
 (2.249 estrelas)
Métricas de merge de PR
 (Mesclagem média 66d 10h) (4 fundiu PRs em 30d)

Description

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)

Guia do colaborador