Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes a bug where in most cases cookies with path / were not set prop…

…erly
  • Loading branch information...
commit 6aacfa321698d95109bd86cd7ecc2ce0c6676a52 1 parent 1e13ecb
@schmittjoh schmittjoh authored fabpot committed
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/Symfony/Component/HttpFoundation/HeaderBag.php
View
4 src/Symfony/Component/HttpFoundation/HeaderBag.php
@@ -224,9 +224,7 @@ public function setCookie($name, $value, $domain = null, $expires = null, $path
$cookie .= '; domain='.$domain;
}
- if ('/' !== $path) {
- $cookie .= '; path='.$path;
- }
+ $cookie .= '; path='.$path;
if ($secure) {
$cookie .= '; secure';
Please sign in to comment.
Something went wrong with that request. Please try again.