[php-src] PR #17709: Fix curl_basic_022.phpt for libcurl 8.12.0
| From: | cmb69 | Date: | Wed, 05 Feb 2025 15:10:30 +0000 |
| Subject: | [php-src] PR #17709: Fix curl_basic_022.phpt for libcurl 8.12.0 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30674@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17709
Author: cmb69
Due to a deliberate change in libcurl, the expiration is now capped to at most 400 days. We could
solve this by choosing another date roughly a year in the future, but would need to update the test
next year. This would be especially annoying for security branches.
Another option would be to actually parse the cookie list lines, but that might not be worth the
trouble. Instead we just ignore the exact timestamp created by libcurl.
[1] <https://github.com/curl/curl/pull/15937>