Fixed Unsafe Viewing link
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 28 Oct 2002 22:15:38 +0000 (22:15 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 28 Oct 2002 22:15:38 +0000 (22:15 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4054 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 597c62f7e5bc77b55e04825a0fd55c2ac39ddf8f..00e00219c0f625680cc06e98182a2ef4f02a8636 100644 (file)
@@ -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