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
tomlkit.exceptions.InvalidDateError: Invalid date at line 1 col 31
It looks like this issue is triggered only if there is a space (instead of "T") between the date and the time, and another space appears immediately after the time.
This issue applies to the latest commit 6512eaa on master as well as the latest release v0.11.6.
I'm experimenting with a TOML fuzzer which revealed this issue. I guess most normal applications are not likely to hit this case, so I understand if this gets low priority. It still seems worthwhile to fix it though.
The text was updated successfully, but these errors were encountered:
The tomlkit parser rejects datetime values in certain cases.
All of the following examples trigger an error:
with the parser typically raising:
It looks like this issue is triggered only if there is a space (instead of "T") between the date and the time, and another space appears immediately after the time.
This issue applies to the latest commit 6512eaa on master as well as the latest release v0.11.6.
I'm experimenting with a TOML fuzzer which revealed this issue. I guess most normal applications are not likely to hit this case, so I understand if this gets low priority. It still seems worthwhile to fix it though.
The text was updated successfully, but these errors were encountered: