Changeset 4580 in subversion
- Timestamp:
- Feb 28, 2011 12:33:26 PM (2 years ago)
- Location:
- trunk/roundcubemail
- 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
-
trunk/roundcubemail/CHANGELOG
r4579 r4580 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) -
trunk/roundcubemail/program/lib/html2text.php
r4223 r4580 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 -
trunk/roundcubemail/program/steps/mail/func.inc
r4506 r4580 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.
