Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test ext/curl/tests/curl_basic_022.phpt fails for curl 8.12.0 and later #17844

Closed
rainerjung opened this issue Feb 17, 2025 · 1 comment
Closed

Comments

@rainerjung
Copy link

Description

CHANGES for curl 8.12.0 contains:

cookie:_cap_expire_times_to_400_days

Test ext/curl/tests/curl_basic_022.phpt now fails with:

---- EXPECTED OUTPUT
array(2) {
  [0]=>
  string(38) ".php.net  TRUE    /       FALSE   2145916799      C1      v1"
  [1]=>
  string(38) ".php.net  TRUE    /       FALSE   2145916799      C2      v2"
}
---- ACTUAL OUTPUT
array(2) {
  [0]=>
  string(38) ".php.net  TRUE    /       FALSE   1774373040      C1      v1"
  [1]=>
  string(38) ".php.net  TRUE    /       FALSE   1774373040      C2      v2"
}
---- FAILED

This is due to the new cookie lifetime cap. Happens for 8.4.4 and 8.3.17.

PHP Version

8.4.4

Operating System

RHEL 8

@nielsdos
Copy link
Member

Was already fixed in #17709

@cmb69 cmb69 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants