diff --git a/src/CSPBuilder.php b/src/CSPBuilder.php index 702dc64..a5b067e 100644 --- a/src/CSPBuilder.php +++ b/src/CSPBuilder.php @@ -137,7 +137,7 @@ public function compile(): string if (!is_string($this->policies['report-uri'])) { throw new TypeError('report-uri policy somehow not a string'); } - $compiled [] = 'report-uri ' . $this->enc($this->policies['report-uri'], 'url') . '; '; + $compiled [] = 'report-uri ' . $this->policies['report-uri'] . '; '; } if (!empty($this->policies['report-to'])) { if (!is_string($this->policies['report-to'])) {