Changeset 5149 in subversion
- Timestamp:
- Aug 30, 2011 5:10:27 AM (22 months ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcube_message.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r5144 r5149 2 2 =========================== 3 3 4 - Fix handling of attachments inside message/rfc822 parts (#1488026) 4 5 - Make list of mimetypes that open in preview window configurable (#1487625) 5 6 - Added plugin hook 'message_part_get' for attachment downloads -
trunk/roundcubemail/program/include/rcube_message.php
r4636 r5149 287 287 $structure->type = 'content'; 288 288 $this->parts[] = &$structure; 289 289 290 290 // Parse simple (plain text) message body 291 291 if ($message_ctype_secondary == 'plain') … … 307 307 foreach ($structure->parts as $p => $sub_part) { 308 308 $sub_mimetype = $sub_part->mimetype; 309 309 310 310 // check if sub part is 311 311 if ($sub_mimetype == 'text/plain') … … 324 324 $this->parse_structure($structure->parts[$related_part], true); 325 325 $this->parse_alternative = false; 326 326 327 327 // if plain part was found, we should unset it if html is preferred 328 328 if ($this->opt['prefer_html'] && count($this->parts)) … … 433 433 } 434 434 // part message/* 435 else if ($primary_type =='message') {435 else if ($primary_type == 'message') { 436 436 $this->parse_structure($mail_part, true); 437 437 … … 496 496 $this->attachments[] = $mail_part; 497 497 } 498 } 499 // attachment part as message/rfc822 (#1488026) 500 else if ($mail_part->mimetype == 'message/rfc822') { 501 $this->parse_structure($mail_part); 498 502 } 499 503 }
Note: See TracChangeset
for help on using the changeset viewer.
