mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #1222] Addressfields with Multibyte Characters in Displayname are cutted #610
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#610
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MatthiasDomroes on GitHub (Sep 5, 2024).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1222
Originally assigned to: @kambereBr on GitHub.
🐛 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 commented on GitHub (Sep 5, 2024):
Thank you @MatthiasDomroes
@marclaporte commented on GitHub (Sep 6, 2024):
Perhaps related: https://github.com/cypht-org/cypht/issues/1224
@kroky commented on GitHub (Sep 9, 2024):
Should be solved by https://github.com/cypht-org/cypht/pull/1230