Skip to content

Address parsing should succeed even when last '\n' is absent#136

Open
sftse wants to merge 4 commits intostalwartlabs:mainfrom
sftse:addr-parsing
Open

Address parsing should succeed even when last '\n' is absent#136
sftse wants to merge 4 commits intostalwartlabs:mainfrom
sftse:addr-parsing

Conversation

@sftse
Copy link
Contributor

@sftse sftse commented Mar 2, 2026

I've been abusing the parsing routines of mail-parser for the parsing of parts of .msg messages, and the addresses there do not have terminating \n.

Some tests seem to not care about the final \n, but they are inconsistent about it, extending this to cover more cases seems in the spirit of prior tests.

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.

1 participant