I applied the patch proposed in (patch #516542)
[squirrelmail.git] / functions / mime.php
index 6973c86ef048020c9e87411930d4500aefb14d5f..92927d68f7a89cc5fa3f0a795397c9127694b5d2 100644 (file)
@@ -1168,10 +1168,12 @@ function stripEvent( &$i, $j, &$body, $id, $base ) {
                     $src .= $body{$k};
                     $k++;
                 }
+                $k++;
                 while( !isNoSep( $body{$k} ) &&
                        $k < $j ) {
                     $k++;
                 }
+                $k++;
                 if ( strtolower( substr( $src, 0, 4 ) ) == 'cid:' ) {
                     $src = substr( $src, 4 );
                     $src = "../src/download.php?absolute_dl=true&amp;passed_id=$id&amp;mailbox=" .