whatwg/fetch

Update Note on Request Destination / CSP directive

Ouverte

#1 466 ouverte le 6 juil. 2022

 (6 commentaires) (0 réaction) (0 personne assignée)HTML (401 forks)batch import
clarificationgood first issue

Métriques du dépôt

Stars
 (2 249 étoiles)
Métriques de merge PR
 (Merge moyen 66j 10h) (4 PRs mergées en 30 j)

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)

Guide contributeur