Skip to content

Commit 0d8721f

Browse files
Merge branch '3.4' into 4.4
* 3.4: Adjust expired range check
2 parents 3cfd991 + 1b68947 commit 0d8721f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/BrowserKit/Cookie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public function isHttpOnly()
309309
*/
310310
public function isExpired()
311311
{
312-
return null !== $this->expires && 0 != $this->expires && $this->expires < time();
312+
return null !== $this->expires && 0 != $this->expires && $this->expires <= time();
313313
}
314314

315315
/**

0 commit comments

Comments
 (0)