Skip to content

Conversation

@jackaperkins
Copy link
Contributor

Should close #78

  • Double quote characters are no longer matched as part of the email address but parsed into neighboring Text elements
  • remove repeated trailing '.' from email address. Before this message-parser only correctly split one trailing period

@jackaperkins jackaperkins marked this pull request as ready for review May 14, 2025 18:43
@farooqkz farooqkz requested review from Simon-Laux and farooqkz May 19, 2025 09:04
@farooqkz
Copy link
Collaborator

Sorry for the delay, Jack.

Copy link
Collaborator

@farooqkz farooqkz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solves the problem. But email parsing logic is definitely not good. But it's not something Jack is supposed to do. We need a refactor/rewrite of email parsing. For now, I would say to have this quick fix and later think about the rewrite/refactor.

@farooqkz
Copy link
Collaborator

@Simon-Laux If you approve, you can merge it.

@Simon-Laux Simon-Laux merged commit 7b8e466 into deltachat:main May 20, 2025
6 checks passed
@jackaperkins jackaperkins deleted the greedy-email branch May 21, 2025 13:47
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.

quoted email address is parsed too greedy and is wrong by that

3 participants