Skip to content

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

Closed as not planned
@rainerjung

Description

@rainerjung

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions