Ticket #1485875 (closed Patches: fixed)

Opened 10 months ago

Last modified 9 months ago

Broken attachment NON-ASCII filename

Reported by: kazuhiko Owned by:
Priority: 5 Milestone: 0.3-stable
Component: MIME parsing Version: svn-trunk
Severity: normal Keywords:
Cc: iwama@…

Description

When some characters (namely ', ", \ and NULL) in the attached filename, it is not correct RFC2231 encoding. Because, preg_replace escapes these characters.

http://www.php.net/manual/en/function.preg-replace.php
replacement section

And NON-ASCII character is strictly checked as RFC-2231 attribute-char pattern.

Attachments

Mail_mime-RFC2231.patch (1.3 KB) - added by kazuhiko 10 months ago.

Change History

Changed 10 months ago by kazuhiko

Changed 10 months ago by alec

  • milestone changed from later to 0.3-stable

Changed 9 months ago by alec

  • status changed from new to closed
  • resolution set to fixed

Fixed in r2648.

Note: See TracTickets for help on using tickets.