summaryrefslogtreecommitdiff
path: root/roundcubemail/program/lib/Mail/mime.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-03-09 07:43:19 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-03-09 07:43:19 +0000
commitc8b5cc14b7276df642a1d1fe9c6849ef092ef185 (patch)
treeeb20f9e68ac92cf890ea54d852d21b9a14dc14a0 /roundcubemail/program/lib/Mail/mime.php
parent9ea0259cde9aa86935da85f44b7a0a818cc18e1c (diff)
- Fix encoding of attachment with comma in name (#1488389)
git-svn-id: https://svn.roundcube.net/trunk@5990 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib/Mail/mime.php')
-rw-r--r--roundcubemail/program/lib/Mail/mime.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/lib/Mail/mime.php b/roundcubemail/program/lib/Mail/mime.php
index c5dd305fa..cc72f5b29 100644
--- a/roundcubemail/program/lib/Mail/mime.php
+++ b/roundcubemail/program/lib/Mail/mime.php
@@ -1142,8 +1142,8 @@ class Mail_mime
? $this->_build_params['eol'] : "\r\n";
// add parameters
- $token_regexp = '#([^\x21,\x23-\x27,\x2A,\x2B,\x2D'
- . ',\x2E,\x30-\x39,\x41-\x5A,\x5E-\x7E])#';
+ $token_regexp = '#([^\x21\x23-\x27\x2A\x2B\x2D'
+ . '\x2E\x30-\x39\x41-\x5A\x5E-\x7E])#';
if (is_array($params)) {
foreach ($params as $name => $value) {
if ($name == 'boundary') {