Skip to content

Commit fe8dcd6

Browse files
committed
docs: describe how to remove report-uri
1 parent 08eae65 commit fe8dcd6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

system/HTTP/ContentSecurityPolicy.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,9 @@ public function addPluginType($mime, ?bool $explicitReporting = null)
595595
*
596596
* @see http://www.w3.org/TR/CSP/#directive-report-uri
597597
*
598+
* @param string $uri URL to send reports. Set `''` if you want to remove
599+
* this directive at runtime.
600+
*
598601
* @return $this
599602
*/
600603
public function setReportURI(string $uri)

0 commit comments

Comments
 (0)