Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #19827 [BrowserKit] Fix cookie expiration on 32 bit systems (jame…
…shalsall) This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #19827). Discussion ---------- [BrowserKit] Fix cookie expiration on 32 bit systems | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #15739 | License | MIT On 32-bit systems the cookie expiration value was not being calculated correctly as it was being fetched as an integer. When the timestamp exceeded the PHP_INT_MAX size it would return an invalid value, breaking the cookie construction. The BrowserKit cookie has now been updated to get the timestamp as a string which works around this platform limitation (similar to how it works in the Cookie from HttpFoundation). Commits ------- 68698f2 [BrowserKit] Fix cookie expiration on 32 bit systems
- Loading branch information