Changeset 29c5422 in github
- Timestamp:
- Feb 28, 2011 12:33:26 PM (2 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- bbce3ed
- Parents:
- d7167e9
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
program/lib/html2text.php (modified) (1 diff)
-
program/steps/mail/func.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rd7167e9 r29c5422 2 2 =========================== 3 3 4 - Fix parsing links with non-printable characters inside (#1487805) 4 5 - Force IE to send referers (#1487806) 5 6 - Fixed de_CH Localization bugs (#1487773) -
program/lib/html2text.php
r6084d78 r29c5422 653 653 return $this->_strtoupper("\n\n". $matches[2] ."\n\n"); 654 654 case 'a': 655 return $this->_build_link_list($matches[3], $matches[4]); 656 } 657 } 658 655 // Remove spaces in URL (#1487805) 656 $url = str_replace(' ', '', $matches[3]); 657 return $this->_build_link_list($url, $matches[4]); 658 } 659 } 660 659 661 /** 660 662 * Strtoupper multibyte wrapper function -
program/steps/mail/func.inc
r829cbfe8 r29c5422 1201 1201 $end = '>'; 1202 1202 1203 // Remove non-printable characters in URL (#1487805) 1204 $attrib['href'] = preg_replace('/[\x00-\x1F]/', '', $attrib['href']); 1205 1203 1206 if ($tag == 'link' && preg_match('/^https?:\/\//i', $attrib['href'])) { 1204 1207 $tempurl = 'tmp-' . md5($attrib['href']) . '.css';
Note: See TracChangeset
for help on using the changeset viewer.
