Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4933e04

Browse files
bug #86 Create cookies as raw in HttpFoundationFactory (nicolas-grekas)
This PR was merged into the 2.0-dev branch. Discussion ---------- Create cookies as raw in HttpFoundationFactory Fix #83 Commits ------- 42cca49 Create cookies as raw in HttpFoundationFactory
2 parents cffb3a8 + 42cca49 commit 4933e04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Factory/HttpFoundationFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ private function createCookie(string $cookie): Cookie
218218
isset($cookieDomain) ? $cookieDomain : null,
219219
isset($cookieSecure),
220220
isset($cookieHttpOnly),
221-
false,
221+
true,
222222
isset($samesite) ? $samesite : null
223223
);
224224
}

0 commit comments

Comments
 (0)