From f498a104a0e1dd4bef4cc11b881e9b87481dba38 Mon Sep 17 00:00:00 2001 From: stekkel Date: Mon, 26 Aug 2002 11:14:33 +0000 Subject: [PATCH] fix for downloadlink and for redirecting html entities git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3464 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/view_text.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/view_text.php b/src/view_text.php index 9768caf5..e1ddde57 100644 --- a/src/view_text.php +++ b/src/view_text.php @@ -35,7 +35,7 @@ _("Viewing a text attachment") . " - "; echo ''. _("View message") . ''; - $dwnld_url = '../src/download.php?'. $QUERY_STRING.'&absolute_dl=1'; + $dwnld_url = '../src/download.php?'. $QUERY_STRING.'&absolute_dl=true'; echo '
'. _("Download this as a file"). "

". @@ -43,10 +43,9 @@ "". "
". "
"; - - if ($type1 == 'html') { + if ($type1 == 'html' || $override_type1 == 'html') { $msg = sqimap_get_message($imapConnection, $passed_id, $mailbox); - $msg = $msg->getEntity($passed_ent_id); + $msg = $msg->getEntity($ent_id); $body = MagicHTML( $body, $passed_id, $msg ); } else { translateText($body, $wrap_at, $charset); -- 2.25.1