From 45071bd636e144fe2b3a105b8e098e44bdd7228e Mon Sep 17 00:00:00 2001 From: indiri69 Date: Mon, 28 Oct 2002 22:15:38 +0000 Subject: [PATCH] Fixed Unsafe Viewing link git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4054 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/functions/mime.php b/functions/mime.php index 597c62f7..00e00219 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -1502,8 +1502,8 @@ function magicHTML($body, $id, $message, $mailbox = 'INBOX'){ "head", "base", "link", - "frame", - "iframe" + "frame", + "iframe" ); $rm_tags_with_content = Array( @@ -1589,6 +1589,9 @@ function magicHTML($body, $id, $message, $mailbox = 'INBOX'){ ) ) ); + if(isset($_GET['view_unsafe_images'])) { + $view_unsafe_images = $_GET['view_unsafe_images']; + } if (!$view_unsafe_images){ /** * Remove any references to http/https if view_unsafe_images set -- 2.25.1