Skip to content

Content-Security-Policy report-to update csp level#36328

Merged
hamishwillee merged 1 commit intomdn:mainfrom
uskey512:patch-1
Oct 14, 2024
Merged

Content-Security-Policy report-to update csp level#36328
hamishwillee merged 1 commit intomdn:mainfrom
uskey512:patch-1

Conversation

@uskey512
Copy link
Copy Markdown
Contributor

Description

report-to is actually a directive introduced in CSP Level 3

Motivation

The CSP level listed is incorrect

Additional details

The following document contains this statement
https://www.w3.org/TR/CSP3/#changes-from-level-2

6. The report-uri directive is deprecated in favor of the new report-to directive, which relies on
   [REPORTING] as infrastructure.

Confirmed that report-to does not appear in CSP's past level documentation.

https://www.w3.org/TR/CSP2/
https://www.w3.org/TR/2012/CR-CSP-20121115/

Related issues and pull requests

`report-to` is actually a directive introduced in CSP Level 3
@uskey512 uskey512 requested a review from a team as a code owner October 14, 2024 12:13
@uskey512 uskey512 requested review from hamishwillee and removed request for a team October 14, 2024 12:13
@github-actions github-actions bot added Content:HTTP HTTP docs size/xs [PR only] 0-5 LoC changed labels Oct 14, 2024
Copy link
Copy Markdown
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

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

Thanks very much @uskey512

@github-actions
Copy link
Copy Markdown
Contributor

@hamishwillee hamishwillee merged commit b41e47c into mdn:main Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTTP HTTP docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants