Skip to content

Commit

Permalink
add report-to header option
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Apr 18, 2020
1 parent 5e8e5ff commit e8f2540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/system/httpheaders/httpheaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class PlgSystemHttpHeaders extends CMSPlugin implements SubscriberInterface
'referrer-policy',
'expect-ct',
'feature-policy',
'report-to',
];

/**
Expand Down
1 change: 1 addition & 0 deletions plugins/system/httpheaders/httpheaders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<option value="referrer-policy">Referrer-Policy</option>
<option value="expect-ct">Expect-CT</option>
<option value="feature-policy">Feature-Policy</option>
<option value="report-to">Report-to</option>
</field>
<field
name="value"
Expand Down

0 comments on commit e8f2540

Please sign in to comment.