Remove save extension check for images because it can cause problems when
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 17 Oct 2002 13:48:04 +0000 (13:48 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 17 Oct 2002 13:48:04 +0000 (13:48 +0000)
the extension is not save and the image url points to the url base address.
If the server uses session trans_sid then somehow the session is destroyed
because of the automatic ?SID=session_id_string.
At least that's what I think what happens.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3893 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 4ff2542a88f499503fa98b5d14e2619c153b4ba7..a312c831c2a4e63d04f5ca0bc8efe3b6ba16efcd 100644 (file)
@@ -626,9 +626,9 @@ function find_ent_id($id, $message) {
             $ret = find_ent_id($id, $message->entities[$i]);
         } else {
             if (strcasecmp($message->entities[$i]->header->id, $id) == 0) {
-                if (sq_check_save_extension($message->entities[$i])) {
+//                if (sq_check_save_extension($message->entities[$i])) {
                     return $message->entities[$i]->entity_id;
-                } 
+//                } 
             }
         }
     }