Changeset fe3a1d6 in github
- Timestamp:
- Mar 9, 2012 2:43:19 AM (16 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
- Children:
- 3cbdbd9
- Parents:
- a1f855e
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
program/lib/Mail/mime.php (modified) (1 diff)
-
program/lib/Mail/mimePart.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
re97f010 rfe3a1d6 2 2 =========================== 3 3 4 - Fix encoding of attachment with comma in name (#1488389) 4 5 - Scroll long lists on drag&drop (#1485946) 5 6 - Fix handling of % character in IMAP protocol (#1488382) -
program/lib/Mail/mime.php
r53604a0 rfe3a1d6 1143 1143 1144 1144 // add parameters 1145 $token_regexp = '#([^\x21 ,\x23-\x27,\x2A,\x2B,\x2D'1146 . ' ,\x2E,\x30-\x39,\x41-\x5A,\x5E-\x7E])#';1145 $token_regexp = '#([^\x21\x23-\x27\x2A\x2B\x2D' 1146 . '\x2E\x30-\x39\x41-\x5A\x5E-\x7E])#'; 1147 1147 if (is_array($params)) { 1148 1148 foreach ($params as $name => $value) { -
program/lib/Mail/mimePart.php
r4c24246 rfe3a1d6 640 640 // value needs encoding if contains non-ASCII chars or is longer than 78 chars 641 641 if (!preg_match('#[^\x20-\x7E]#', $value)) { 642 $token_regexp = '#([^\x21 ,\x23-\x27,\x2A,\x2B,\x2D'643 . ' ,\x2E,\x30-\x39,\x41-\x5A,\x5E-\x7E])#';642 $token_regexp = '#([^\x21\x23-\x27\x2A\x2B\x2D' 643 . '\x2E\x30-\x39\x41-\x5A\x5E-\x7E])#'; 644 644 if (!preg_match($token_regexp, $value)) { 645 645 // token … … 663 663 // RFC2231: 664 664 $encValue = preg_replace_callback( 665 '/([^\x21 ,\x23,\x24,\x26,\x2B,\x2D,\x2E,\x30-\x39,\x41-\x5A,\x5E-\x7E])/',665 '/([^\x21\x23\x24\x26\x2B\x2D\x2E\x30-\x39\x41-\x5A\x5E-\x7E])/', 666 666 array($this, '_encodeReplaceCallback'), $value 667 667 );
Note: See TracChangeset
for help on using the changeset viewer.
