Attachments were being lost when going to address book page due to lack of proper...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 12 Sep 2009 20:25:52 +0000 (20:25 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 12 Sep 2009 20:25:52 +0000 (20:25 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13842 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/addrbook_search_html.php

index 3f42e6397116a200bef0851a339cb3e0c44ab307..c8e302359b0df5f7b16b548d327c67749269fc9f 100644 (file)
@@ -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).