Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Attachment with utf8 filename #1367

@hartois

Description

@hartois

Rainloop 1.10.5.192, CentOS 6, PHP 5.6
php-pear-Mail-mimeDecode-1.5.6-1
php-pear-Mail-Mime-1.10.0-1

Attachment filename encoded in UTF-8 not parsed correctly:
screen9
Original filename: "Снимок экрана_2017-03-04_07-12-16.png"

From email source:

Content-Type: image/png;
        name="=?UTF-8?B?0KHQvdC40LzQvtC6INGN0LrRgNCw0L3QsF8yMDE3LTAzLTA0XzA3LTEy?=
 =?UTF-8?Q?-16.png?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename*0*="utf-8''%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1";
        filename*1*="%80%D0%B0%D0%BD%D0%B0%5F%32%30%31%37%2D%30%33%2D%30%34%5F%30";
        filename*2*="%37%2D%31%32%2D%31%36%2E%70%6E%67"

Full message:
email.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions