Skip to content
New issue

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

Allow updated_at to be an epoch string #165

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

multun
Copy link
Contributor

@multun multun commented Apr 24, 2024

Allow unix timestamps within a string for updated_at, as follows:
"updated_at": "1713964430.299453"

This is not allowed by the specification, but was observed in the wild on at least one OpenAM
instance. This misbehavior is probably caused by a plugin or unusual config, as other OpenAM
instances work just fine.

Instance owners were notified, and aren't willing to do anything about it.

This parsing leniancy feature is gated behind "accept-string-epoch".

Allow unix timestamps within a string for updated_at, as follows:
  "updated_at": "1713964430.299453"

This is not allowed by the specification, but was observed in the wild on at least one OpenAM
instance. This misbehavior is probably caused by a plugin.

This parsing leniancy feature is gated behind "accept-string-epoch".
@multun multun changed the title Allow updated_at to be a number within a string Allow updated_at to be an epoch string Apr 25, 2024
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.

None yet

1 participant