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

Addressfields with Multibyte Characters in Displayname are cutted #1222

Closed
MatthiasDomroes opened this issue Sep 5, 2024 · 3 comments
Closed
Assignees
Labels
blocker Needs to be addressed before we can release the next version

Comments

@MatthiasDomroes
Copy link

🐛 Bugreport

While processing Header-Field (e.g From) by using module/core/message_functions.php::process_address_fld($fld) address is cutted:
Raimund Matthias Domrös matthias@domroes.net
is converted to
Raimund Matthias Domrös matthias@domroes.ne
The last t is omitted!

Error is caused by function addr_split. The function is coded as iteration over bytes but mb_strlen (counts charactes!) is used to calculate $max (line 500) .

Version & Environment

Release 2.2.0 / file message_functions.php of master is unchanged.

@marclaporte
Copy link
Member

Thank you @MatthiasDomroes

@marclaporte
Copy link
Member

Perhaps related: #1224

@marclaporte marclaporte added the blocker Needs to be addressed before we can release the next version label Sep 7, 2024
@kroky
Copy link
Member

kroky commented Sep 9, 2024

Should be solved by #1230

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker Needs to be addressed before we can release the next version
Projects
None yet
Development

No branches or pull requests

4 participants