Skip to content

insert: reject an unparsable expiration instead of keeping forever - #225

Open
cgzones wants to merge 1 commit into
matze:masterfrom
cgzones:reject-unparsable-expiration
Open

cgzones wants to merge 1 commit into
matze:masterfrom
cgzones:reject-unparsable-expiration

Conversation

@cgzones

@cgzones cgzones commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

expires=garbage parsed to None, which means "never expires" — the widest possible outcome for a malformed request. Keep 0 as the way to ask for that explicitly and reject everything else as a malformed form, before a uid is minted for the request.

`expires=garbage` parsed to `None`, which means "never expires" — the
widest possible outcome for a malformed request. Keep `0` as the way to
ask for that explicitly and reject everything else as a malformed form,
before a uid is minted for the request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant