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

Decode: prevent comments that look like dates to be accepted #657

Merged
merged 2 commits into from Nov 5, 2021

Conversation

pelletier
Copy link
Owner

When the parser has to decide between parsing and integer or a date, it should
check that all characters are actually acceptable (digits, or date/time
elements).

Fixes #655

When the parser has to decide between parsing and integer or a date, it should
check that all characters are actually acceptable (digits, or date/time
elements).

Fixes #655
@pelletier pelletier merged commit 11f789e into v2 Nov 5, 2021
@pelletier pelletier deleted the issue-655 branch November 5, 2021 02:06
@pelletier pelletier added the bug Issues describing a bug in go-toml. label Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues describing a bug in go-toml.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant