From d8cffbab47c2fde196c462a2945a2c62b811372d Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 17 Oct 2002 13:48:04 +0000 Subject: [PATCH] Remove save extension check for images because it can cause problems when 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/mime.php b/functions/mime.php index 4ff2542a..a312c831 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -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; - } +// } } } } -- 2.25.1