From: indiri69 Date: Mon, 28 Oct 2002 22:15:38 +0000 (+0000) Subject: Fixed Unsafe Viewing link X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=45071bd636e144fe2b3a105b8e098e44bdd7228e;p=squirrelmail.git Fixed Unsafe Viewing link git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4054 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- 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