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

From: Date: Mon, 24 Mar 2003 09:21:43 +0000
Subject: #22832 [Fbk]: imap_rfc822_write_address returns extra "" when no personal
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36238@lists.php.net to get a copy of this message
ID: 22832 Updated by: sniper@php.net Reported By: marko at oblo dot com Status: Feedback Bug Type: IMAP related Operating System: FreeBSD 4.7-RELEASE-p6 PHP Version: 4.3.1 New Comment: And it pretty much depends on the c-client version used too.. Previous Comments: ------------------------------------------------------------------------ [2003-03-23 19:22:06] iliaa@php.net 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 ------------------------------------------------------------------------ [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 (#36238) next »