You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The regexes for both FormatOfStringDate and FormatOfStringDateTime in schema_formats.go allow 00 as a valid value for both months and days. This is explicitly specified by section 5.6 the RFC3339 standard as an out-of-range value.
Both regexes should be updated to disallow 00 as a valid value for months and days. Docs should be appropriately updated, and tests should be written as a stopgap measure against regressions.
The text was updated successfully, but these errors were encountered:
The regexes for both
FormatOfStringDate
andFormatOfStringDateTime
inschema_formats.go
allow00
as a valid value for both months and days. This is explicitly specified by section 5.6 the RFC3339 standard as an out-of-range value.Both regexes should be updated to disallow
00
as a valid value for months and days. Docs should be appropriately updated, and tests should be written as a stopgap measure against regressions.The text was updated successfully, but these errors were encountered: