Skip to content

Commit a1a763b

Browse files
committed
docs: add missing ->CSP
1 parent b306fbc commit a1a763b

File tree

1 file changed

+4
-4
lines changed
  • user_guide_src/source/outgoing/response

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

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
3+
$this->response->CSP->addChildSrc('https://youtube.com'); // allowed
4+
$this->response->CSP->reportOnly(true);
5+
$this->response->CSP->addChildSrc('https://metube.com'); // allowed but reported
6+
$this->response->CSP->addChildSrc('https://ourtube.com', false); // allowed

0 commit comments

Comments
 (0)