alecpl
2010-04-26 1097a3cd8a3ae188f275763ae8d5a9c4d263db7a
- don't parse text/html attachment body on download


1 files modified
2 ■■■ changed files
program/steps/mail/get.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/get.inc
@@ -82,7 +82,7 @@
    }
    // deliver part content
    if ($ctype_primary == 'text' && $ctype_secondary == 'html') {
    if ($ctype_primary == 'text' && $ctype_secondary == 'html' && empty($_GET['_download'])) {
      // get part body if not available
      if (!$part->body)
        $part->body = $MESSAGE->get_part_content($part->mime_id);