From 2c761b52034e1c005b80704280d45400f31ada10 Mon Sep 17 00:00:00 2001 From: stekkel Date: Fri, 5 Jul 2002 15:41:50 +0000 Subject: [PATCH] fix for processing literals fix for setting the entity id of message/rfc822 attachments (I realy thought I tested it enough, apparently not :-( ) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3054 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/mime.class | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/class/mime.class b/class/mime.class index ecf26920..de74e8dc 100644 --- a/class/mime.class +++ b/class/mime.class @@ -291,6 +291,9 @@ class message { $msg->header->type0 = $arg_a[0]; $msg->type0 = $arg_a[0]; + + $msg->header->type1 = $arg_a[1]; + $msg->type1 = $arg_a[1]; $msg->parseEnvelope($read,&$i,&$hdr); $i++; @@ -580,6 +583,7 @@ class message { $lit_cnt .= $read{$i}; $i++; } + $lit_cnt +=2; /* add the { and } characters */ $s = ''; for ($j = 0; $j < $lit_cnt; $j++) { $i++; -- 2.25.1