fixes a bug where in most cases cookies with path / were not set properly
This commit is contained in:
parent
1e13ecb5f3
commit
6aacfa3216
@ -224,9 +224,7 @@ class HeaderBag
|
||||
$cookie .= '; domain='.$domain;
|
||||
}
|
||||
|
||||
if ('/' !== $path) {
|
||||
$cookie .= '; path='.$path;
|
||||
}
|
||||
$cookie .= '; path='.$path;
|
||||
|
||||
if ($secure) {
|
||||
$cookie .= '; secure';
|
||||
|
Reference in New Issue
Block a user