hsts: skip expired HSTS entries read from file

Extend test 780 to verify

Closes #21186
This commit is contained in:
Daniel Stenberg 2026-04-01 08:51:25 +02:00
parent 8e8bdd3604
commit 4478a10f0d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 6 additions and 0 deletions

View file

@ -48,6 +48,7 @@ CURL_TIME=1728465947
<file name="%LOGDIR/input%TESTNUMBER">
this.hsts.example "99991001 04:47:41"
expired.example "20011001 04:47:41"
</file>
<name>