6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1577] unable to set sender to [@] error
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ ._. __..__ | || \ | (__ [ __ |__||__/_|_.__)[_./
Comment
> Ok, I tried tracking down this bug. I set my username to "Antônico > César Júnior Só", which is guaranteed to fail here. > > > > The validation of the "From" address fails in _validateAtom() in > PEAR's Mail/RFC822.php. The problematic atom is > "=?utf-8?b?Q8Opc2FyIA==?=" which appears to correspond to César and > the test in which this atom fails is this: > > > > if (preg_match('/[\\x00-\\x1F]+/', $atom)) { > > return false; > > } > > > > What's funny is that reducing the user's name to two names (Antônico > César) appears to work, e.g. no control characters are found even > though the encoded form should be the same as far as I know. > > > > If I disable Mail_RFC822->validate the e-mail is sent normally and > IMP can read the From header normally, but it's probably not > RFC-compatible. > > > > This is related to this: http://pear.php.net/bugs/bug.php?id=2242 > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers