From e45078ab128f6a49faf07b20dce57a907085fdd5 Mon Sep 17 00:00:00 2001 From: itsbruce Date: Wed, 31 Jul 2002 01:41:12 +0000 Subject: [PATCH] Fixed bug where e-mail address contains ' character git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3192 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/addrbook_search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addrbook_search.php b/src/addrbook_search.php index 8ee86b0c..5fe1045a 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -108,7 +108,7 @@ function display_result($res, $includesource = true) { while (list($undef, $row) = each($res)) { $tr_bgcolor = ''; - $email = AddressBook::full_address($row); + $email = addslashes(AddressBook::full_address($row)); if ($line % 2) { $tr_bgcolor = $color[0]; } echo html_tag( 'tr', '', '', $tr_bgcolor, 'nowrap' ) . html_tag( 'td', -- 2.25.1