From e6d142e72805d9dcda53d0d44d510cae9ce29b98 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 12 Sep 2009 20:25:52 +0000 Subject: [PATCH] Attachments were being lost when going to address book page due to lack of proper encoding [#2851493] git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13842 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/addrbook_search_html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addrbook_search_html.php b/src/addrbook_search_html.php index 3f42e639..c8e30235 100644 --- a/src/addrbook_search_html.php +++ b/src/addrbook_search_html.php @@ -53,7 +53,7 @@ function addr_insert_hidden() { } if (is_object($composeMessage) && $composeMessage->entities) - echo addHidden('attachments', serialize($composeMessage->entities)); + echo addHidden('attachments', urlencode(serialize($composeMessage->entities))); echo addHidden('session', $session). addHidden('subject', $subject). -- 2.25.1