We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
touch -d '1969-12-31T00:00:00Z' reallyold.txt curl --time-cond reallyold.txt -I https://curl.se
touch -d '1969-12-31T00:00:00Z' reallyold.txt
curl --time-cond reallyold.txt -I https://curl.se
The date before 1970-01-01 being considered valid.
curl 8.2.1
macOS 13.5.1 (22G90)
The text was updated successfully, but these errors were encountered:
Root cause is here:
curl/src/tool_getparam.c
Line 2652 in cb5e181
getfiletime should probably be changed to return success/failure indicator and store the time to curl_off_t * on success.
getfiletime
curl_off_t *
Sorry, something went wrong.
tool_filetime: make -z work with file dates before 1970
fb50002
Fixes #11785 Reported-by: Harry Sintonen
dffd996
2bc7279
Fixes curl#11785 Reported-by: Harry Sintonen Closes curl#11786
Successfully merging a pull request may close this issue.
I did this
touch -d '1969-12-31T00:00:00Z' reallyold.txt
curl --time-cond reallyold.txt -I https://curl.se
I expected the following
The date before 1970-01-01 being considered valid.
curl/libcurl version
curl 8.2.1
operating system
macOS 13.5.1 (22G90)
The text was updated successfully, but these errors were encountered: