Skip to content

Conversation

@sunshineplan
Copy link
Contributor

Fixes #3 and doesn't allow blank data element

@sunshineplan
Copy link
Contributor Author

According the specification:The data element may be any ASCII lowercase alphabetic, numeric, or graphic symbol except blank.

@hectorcorrea
Copy link
Owner

@sunshineplan thank you very much for this PR.

I am sorry I had not gotten back to you sooner, I had notifications turned off and did not see your PR until today. I should get back with you soon.

@sunshineplan
Copy link
Contributor Author

I'm glad to hear that. This PR's aim is don't interrupt the process of reading whole file. Some illegal data will be ignored. And add some length checking to avoid unexpected panic.

@hectorcorrea hectorcorrea merged commit 1818cfb into hectorcorrea:main Aug 9, 2021
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

Successfully merging this pull request may close these issues.

panic: Extraneous field terminator

2 participants