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 Dec 11, 2019
1 parent 7e1c0bf commit 518f8e5
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 @@ -41,7 +41,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 518f8e5

Please sign in to comment.