#22832 [Opn->Fbk]: imap_rfc822_write_address returns extra "" when no personal

From: Date: Mon, 24 Mar 2003 01:22:07 +0000
Subject: #22832 [Opn->Fbk]: imap_rfc822_write_address returns extra "" when no personal
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36220@lists.php.net to get a copy of this message
ID: 22832 Updated by: iliaa@php.net Reported By: marko at oblo dot com -Status: Open +Status: Feedback Bug Type: *Mail Related Operating System: FreeBSD 4.7-RELEASE-p6 PHP Version: 4.3.1 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip In latest CVS snapshot it appears to return just: marko@oblo.com Previous Comments: ------------------------------------------------------------------------ [2003-03-23 15:42:50] marko at oblo dot com In php 4.3.1 the imap_rfc822_write_address() function seems to return extra double quotes "" when there is no personal value. For example: imap_rfc822_write_address('marko', 'oblo.com', '') would output: "" <marko@oblo.com> when in php 4.2.3 it would rightly only output: <marko@oblo.com> Regards, Marko ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22832&edit=1

« previous php.bugs (#36220) next »