diff options
author | alecpl <alec@alec.pl> | 2012-03-09 07:43:19 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-03-09 07:43:19 +0000 |
commit | fe3a1d60a53920029932287629ee0afd4df729aa (patch) | |
tree | dc078998049bbd5dfdf5ab56908c4493e50fc147 /program/lib/Mail/mime.php | |
parent | a1f855e0e60be3384a4446eedc9b2d52d9f41f49 (diff) |
- Fix encoding of attachment with comma in name (#1488389)
Diffstat (limited to 'program/lib/Mail/mime.php')
-rw-r--r-- | program/lib/Mail/mime.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Mail/mime.php b/program/lib/Mail/mime.php index c5dd305fa..cc72f5b29 100644 --- a/program/lib/Mail/mime.php +++ b/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') { |