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

Schema validation: Incorrect String Format Regexp for date-time #492

Closed
Cr4psy opened this issue Feb 17, 2022 · 1 comment
Closed

Schema validation: Incorrect String Format Regexp for date-time #492

Cr4psy opened this issue Feb 17, 2022 · 1 comment

Comments

@Cr4psy
Copy link
Contributor

Cr4psy commented Feb 17, 2022

It appears that the regular expression used for the date time is not exactly following the standard as defined here

Indeed, incorrect timestamp as shown below will still be valid with the current implementation:
2022-02-22T11:22:33:999Z
2022-02-22T11:22:33-999Z
2022-02-22T11:22:33x999Z

@Cr4psy Cr4psy changed the title Date-time: Update Regexp Schema validation: Incorrect String Format Regexp for date-time Feb 17, 2022
@Cr4psy
Copy link
Contributor Author

Cr4psy commented Feb 17, 2022

Proposed a fix in #493

@Cr4psy Cr4psy closed this as completed Mar 2, 2022
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

No branches or pull requests

1 participant