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 UNIX timestamp auth #68

Open
GaraQuor opened this issue Aug 6, 2020 · 1 comment
Open

Allow UNIX timestamp auth #68

GaraQuor opened this issue Aug 6, 2020 · 1 comment

Comments

@GaraQuor
Copy link

GaraQuor commented Aug 6, 2020

Hello,

It would be great if we could pass a raw UNIX timestamp in the auth header.
A simple solution is to pass an '@' at the beginning of the value to strtotime treat the input as a UNIX timestamp (as described here https://www.php.net/manual/en/datetime.formats.compound.php)

The only fix is to add '@' char in the sanitizer allowed array

@ndejong
Copy link
Owner

ndejong commented Aug 14, 2020

Cool, added to the "enhancements" list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants