[Tickets #292] Horde/IMP handling of literal strings
bugs at bugs.horde.org
bugs at bugs.horde.org
Mon Jun 14 06:42:35 PDT 2004
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
-Ticket 292
-Queue: IMP
-Added By: imp at mavetju.org
>From imp at mavetju.org (Mon Jun 14 06:42:35 2004):
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 at 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
http://bugs.horde.org/details.php?id=292
--
More information about the bugs
mailing list