Commit 6dbaa5c
fix: ignore non-positive delay in SetExpiresAfter
A zero or negative delay would silently produce an expires value in the
past or be treated as "unset" inconsistently. Guard the assignment so
only positive delays take effect, matching the semantics of the existing
expires == 0 sentinel.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 691910b commit 6dbaa5c
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
0 commit comments