From: stekkel Date: Wed, 31 Jul 2002 16:51:11 +0000 (+0000) Subject: fix for incorrect urlencode. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=f099d05f54ea1d04ae973a8353be1297a69f7c70 fix for incorrect urlencode. Thnx Wouter. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3203 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/read_body.php b/src/read_body.php index 5cf701a0..b5d4b402 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -382,8 +382,7 @@ function formatMenubar($mailbox, $passed_id, $passed_ent_id, $message, $mbx_resp $startMessage, $compose_new_win, $PHP_SELF, $save_as_draft; $topbar_delimiter = ' | '; - $urlMailbox = encodeHeader($mailbox); - + $urlMailbox = urlencode($mailbox); $s = '
'; @@ -502,7 +501,7 @@ function formatMenubar($mailbox, $passed_id, $passed_ent_id, $message, $mbx_resp function formatToolbar($mailbox, $passed_id, $passed_ent_id, $message, $color) { global $QUERY_STRING, $base_uri; - $urlMailbox = encodeHeader($mailbox); + $urlMailbox = urlencode($mailbox); $s = ''. "\n". '
'; @@ -651,6 +650,7 @@ if (($attachment_common_show_images) && do_hook('read_body_bottom'); do_hook('html_bottom'); +$message->clean_up(); sqimap_logout($imapConnection); ?>