Browse Source

Fixed Unsafe Viewing link

indiri69 23 years ago
parent
commit
1476e8d128
1 changed files with 5 additions and 2 deletions
  1. 5 2
      functions/mime.php

+ 5 - 2
functions/mime.php

@@ -1502,8 +1502,8 @@ function magicHTML($body, $id, $message, $mailbox = 'INBOX'){
                       "head",
                       "head",
                       "base",
                       "base",
                       "link",
                       "link",
-		      "frame",
-		      "iframe"
+                      "frame",
+                      "iframe"
                       );
                       );
 
 
     $rm_tags_with_content = Array(
     $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){
     if (!$view_unsafe_images){
         /**
         /**
          * Remove any references to http/https if view_unsafe_images set
          * Remove any references to http/https if view_unsafe_images set