roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.89k stars 1.64k forks source link

Broken attachment NON-ASCII filename #2192

Closed rcubetrac closed 15 years ago

rcubetrac commented 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

rcubetrac commented 15 years ago

Milestone changed by @alecpl on 27 May 2009 09:41 UTC

later => 0.3-stable

rcubetrac commented 15 years ago

Comment by @alecpl on 17 Jun 2009 07:50 UTC

Fixed in 93c0be2e.

rcubetrac commented 15 years ago

Status changed by @alecpl on 17 Jun 2009 07:50 UTC

new => closed