File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed
Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -437,6 +437,7 @@ class App extends BaseConfig
437437 * Defaults to `Lax` as recommended in this link:
438438 *
439439 * @see https://portswigger.net/web-security/csrf/samesite-cookies
440+ *
440441 * @deprecated `Config\Cookie` $samesite property is used.
441442 *
442443 * @var string
Original file line number Diff line number Diff line change 1515 */
1616class ContentSecurityPolicy extends BaseConfig
1717{
18- //-------------------------------------------------------------------------
18+ // -------------------------------------------------------------------------
1919 // Broadbrush CSP management
20- //-------------------------------------------------------------------------
20+ // -------------------------------------------------------------------------
2121
2222 /**
2323 * Default CSP report context
@@ -43,10 +43,10 @@ class ContentSecurityPolicy extends BaseConfig
4343 */
4444 public $ upgradeInsecureRequests = false ;
4545
46- //-------------------------------------------------------------------------
46+ // -------------------------------------------------------------------------
4747 // Sources allowed
4848 // Note: once you set a policy to 'none', it cannot be further restricted
49- //-------------------------------------------------------------------------
49+ // -------------------------------------------------------------------------
5050
5151 /**
5252 * Will default to self if not overridden
Original file line number Diff line number Diff line change 2525// where controller filters or CSRF protection are bypassed.
2626// If you don't want to define all routes, please use the Auto Routing (Improved).
2727// Set `$autoRoutesImproved` to true in `app/Config/Feature.php` and set the following to true.
28- //$routes->setAutoRoute(false);
28+ // $routes->setAutoRoute(false);
2929
3030/*
3131 * --------------------------------------------------------------------
Original file line number Diff line number Diff line change 1010
1111class Validation extends BaseConfig
1212{
13- //--------------------------------------------------------------------
13+ // --------------------------------------------------------------------
1414 // Setup
15- //--------------------------------------------------------------------
15+ // --------------------------------------------------------------------
1616
1717 /**
1818 * Stores the classes that contain the
@@ -38,7 +38,7 @@ class Validation extends BaseConfig
3838 'single ' => 'CodeIgniter\Validation\Views\single ' ,
3939 ];
4040
41- //--------------------------------------------------------------------
41+ // --------------------------------------------------------------------
4242 // Rules
43- //--------------------------------------------------------------------
43+ // --------------------------------------------------------------------
4444}
You can’t perform that action at this time.
0 commit comments