Closed rcubetrac closed 15 years ago
Reported by kazuhiko on 27 May 2009 08:42 UTC as Trac ticket #1485875
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 [[BR]] replacement section
And NON-ASCII character is strictly checked as RFC-2231 attribute-char pattern.
Migrated-From: http://trac.roundcube.net/ticket/1485875
Milestone changed by @alecpl on 27 May 2009 09:41 UTC
later => 0.3-stable
Comment by @alecpl on 17 Jun 2009 07:50 UTC
Fixed in 93c0be2e.
Status changed by @alecpl on 17 Jun 2009 07:50 UTC
new => closed
Reported by kazuhiko on 27 May 2009 08:42 UTC as Trac ticket #1485875
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 [[BR]] replacement section
And NON-ASCII character is strictly checked as RFC-2231 attribute-char pattern.
Migrated-From: http://trac.roundcube.net/ticket/1485875