Skip to content

Commit

Permalink
fix #557
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Aug 26, 2020
1 parent 1ed65cb commit 362f05a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Protocols/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ public function sessionId()
. (empty($cookie_params['domain']) ? '' : '; Domain=' . $cookie_params['domain'])
. (empty($cookie_params['lifetime']) ? '' : '; Max-Age=' . ($cookie_params['lifetime'] + \time()))
. (empty($cookie_params['path']) ? '' : '; Path=' . $cookie_params['path'])
. (empty($cookie_params['samesite']) ? '' : '; SameSite=' . $cookie_params['samesite'])
. (!$cookie_params['secure'] ? '' : '; Secure')
. (!$cookie_params['httponly'] ? '' : '; HttpOnly'));
}
Expand Down

0 comments on commit 362f05a

Please sign in to comment.