We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
->CSP
1 parent b306fbc commit a1a763bCopy full SHA for a1a763b
user_guide_src/source/outgoing/response/013.php
@@ -1,6 +1,6 @@
1
<?php
2
3
-$response->addChildSrc('https://youtube.com'); // allowed
4
-$response->reportOnly(true);
5
-$response->addChildSrc('https://metube.com'); // allowed but reported
6
-$response->addChildSrc('https://ourtube.com', false); // allowed
+$this->response->CSP->addChildSrc('https://youtube.com'); // allowed
+$this->response->CSP->reportOnly(true);
+$this->response->CSP->addChildSrc('https://metube.com'); // allowed but reported
+$this->response->CSP->addChildSrc('https://ourtube.com', false); // allowed
0 commit comments