Recently report-uri has been deprecated - however it's still recommended to provide a URL for this field for older browsers.
However browsers like Chrome are now only using the report-to which defines a group within a new Report-To response header.
Currently the code just runs $compiled []= 'report-to ' . $this->policies['report-uri'] . '; ';
This means the value is always the same for both.
Would it be possible to allow individual control for the report-to directive? this way we can leave a URL for older browsers in the report-uri section and then have a group name in the report-to directive? e.g. something maybe like:
Hi,
Recently
report-uri
has been deprecated - however it's still recommended to provide a URL for this field for older browsers.However browsers like Chrome are now only using the
report-to
which defines a group within a newReport-To
response header.Currently the code just runs
$compiled []= 'report-to ' . $this->policies['report-uri'] . '; ';
This means the value is always the same for both.
Would it be possible to allow individual control for the
report-to
directive? this way we can leave a URL for older browsers in thereport-uri
section and then have a group name in thereport-to
directive? e.g. something maybe like:Then if the developer defines a
report-to
it will allow it?