Skip to content

Commit

Permalink
HttpExtension: cookieSecure is by default 'auto' (BC break)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jul 31, 2020
1 parent cdaa300 commit 7ae9bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/HttpDI/HttpExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function getConfigSchema(): Nette\Schema\Schema
'csp' => Expect::arrayOf('array|scalar|null'), // Content-Security-Policy
'cspReportOnly' => Expect::arrayOf('array|scalar|null'), // Content-Security-Policy-Report-Only
'featurePolicy' => Expect::arrayOf('array|scalar|null'), // Feature-Policy
'cookieSecure' => Expect::anyOf(null, true, false, 'auto'), // true|false|auto Whether the cookie is available only through HTTPS
'cookieSecure' => Expect::anyOf(null, true, false, 'auto')->default('auto'), // true|false|auto Whether the cookie is available only through HTTPS
]);
}

Expand Down

0 comments on commit 7ae9bc0

Please sign in to comment.