Aleksander Machniak
2015-04-06 98e4614b0da073b04ba54bfee1df3491dcea6762
Fix so text/calendar parts are listed as attachments even if not marked as such (#1490325)
2 files modified
9 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_message.php 8 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -12,6 +12,7 @@
- Fix PHP warning: Non-static method PEAR::setErrorHandling() should not be called statically (#1490343)
- Fix tables listing routine on mysql and postgres so it skips system or other database tables and views (#1490337)
- Fix message list header in classic skin on window resize in Internet Explorer (#1490213)
- Fix so text/calendar parts are listed as attachments even if not marked as such (#1490325)
RELEASE 1.1.1
-------------
program/lib/Roundcube/rcube_message.php
@@ -791,6 +791,14 @@
                else if ($mail_part->mimetype == 'message/rfc822') {
                    $this->parse_structure($mail_part);
                }
                // calendar part not marked as attachment (#1490325)
                else if ($part_mimetype == 'text/calendar') {
                    if (!$mail_part->filename) {
                        $mail_part->filename = 'calendar.ics';
                    }
                    $this->attachments[] = $mail_part;
                }
            }
            // if this was a related part try to resolve references