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

Parse email addresses with non-ASCII UTF8 domain parts #4831

Merged
merged 3 commits into from
Mar 19, 2024

Conversation

rsto
Copy link
Member

@rsto rsto commented Mar 5, 2024

Email addresses having non-ASCII UTF8 domain parts up until now were parsed incorrectly, leading to truncated email addresses being stored in the mailbox cache and returned in JMAP and IMAP.

This fixes the email address parser to parse such domains and bumps the mailbox minor cache version number.

rsto added 2 commits March 5, 2024 14:38
Signed-off-by: Robert Stepanek <rsto@fastmailteam.com>
Signed-off-by: Robert Stepanek <rsto@fastmailteam.com>
@rsto rsto requested review from ksmurchison and elliefm March 5, 2024 13:53
@rsto rsto marked this pull request as draft March 5, 2024 14:01
@rsto
Copy link
Member Author

rsto commented Mar 5, 2024

Huh, that success locally but fails in CI. Changing this to Draft until I fixed that.

@rsto
Copy link
Member Author

rsto commented Mar 6, 2024

Thanks for the int vs u_char fix. Interesting that this didn't fail on my setup.

@rsto rsto requested a review from ksmurchison March 6, 2024 06:40
@rsto rsto marked this pull request as ready for review March 6, 2024 12:12
@rsto rsto merged commit 6768f3e into master Mar 19, 2024
2 checks passed
@rsto rsto deleted the parseaddr_utf8_domain branch March 19, 2024 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants