From: pdontthink Date: Sat, 12 Sep 2009 20:25:52 +0000 (+0000) Subject: Attachments were being lost when going to address book page due to lack of proper... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e6d142e72805d9dcda53d0d44d510cae9ce29b98;p=squirrelmail.git 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 --- 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).