Skip to content

Commit f28473f

Browse files
authored
Fix minor mistake: you send two directives not two headers (#37642)
"report-to" and "report-uri" are directives within the CSP Header. Text said: "both headers" which is technically wrong.
1 parent 8a12e24 commit f28473f

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/web/http/headers/content-security-policy/report-to

1 file changed

+1
-1
lines changed

files/en-us/web/http/headers/content-security-policy/report-to/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The JSON for a single report might look like this:
7373
## Usage notes
7474

7575
The `report-to` directive is intended to replace `report-uri`, and browsers that support `report-to` ignore the `report-uri` directive.
76-
However, until `report-to` is broadly supported you can specify both headers as shown:
76+
However, until `report-to` is broadly supported you can specify both directives as shown:
7777

7878
```http
7979
Content-Security-Policy: …; report-uri https://endpoint.example.com; report-to endpoint_name

0 commit comments

Comments
 (0)