6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/21/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#292] Horde/IMP handling of literal strings
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..__ .___..__ |_/ | |[ __ | | \ | \|__|[_./ | |__/
Comment
> This fixes it in a beautiful way. > > > > imp-3.2.4/lib/IMP.php. > > > > * @return string The correctly quoted and escaped string. > > * > > * @since IMP 3.2.2 > > */ > > function _rfc822Encode($str, $filter = '') > > { > > + // strip double quotes if they are around the string already. > > + if (substr($str,0,1)=="\"" && substr($str,-1)=="\"") > > + $str=substr($str,1,-1); > > > > $filter .= > "()<>@,;:\\\"[]\1\2\3\4\5\6\7\10\11\12\13\14\15\16\17\20\21\2 > > 2\23\24\25\26\27\30\31\32\33\34\35\36\37\177"; > > > > if (strcspn($str, $filter) != strlen($str)) { > > > > > > Please add this fix. People who use c-clients (like the imap-uw > library) which talk to imap servers which do return double quotes > around addresses if they were in the original email (like dbmail) > would be happy to be able to use Horde without problems. > > > > Edwin > > http://www.mavetju.org/ > >
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