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 [#292] Horde/IMP handling of literal strings
*
Your Email Address
*
Spam protection
Enter the letters below:
__.._.. .. .. , (__ | | ||\/| \./ .__)_|_|__|| | |
Comment
> In imp-3.2.4/message.php, line 527 and around that line: > > > > /* Don't show addressbook icon on print screen. */ > > $showIcon = !$printer_friendly; > > > > if (isset($h->date)) $dat = htmlspecialchars(MIME::decode($h->date)); > > if (isset($h->to)) $to = buildAddressLinks($h->to, $showIcon); > > if (isset($h->from)) $frm = buildAddressLinks($h->from, $showIcon); > > > > $h is filled with information from imap_header(). > > $h->to is: > > [0] => stdClass Object > > ( > > [personal] => "with quotes" > > [mailbox] => edwin > > [host] => barnet.com.au > > ) > > > > Are these double quotes around the value of the 'personal' key wrong? > Should this be without the double quotes? Does IMP expect it without > the double quotes around it? > > > > After the assignment, $to contains the string '"\"with > quotes\"" <edwin@barnet.com.au>'. So > buildAddressLinks somehow escapes the double quotes in the $h->to > field. > > > > Please note that I'm not angry with any of you guys. I'm just trying > to make me see if the values returned by imap_header() are wrong. > > > > Edwin > >
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