Changeset 96b679d in github


Ignore:
Timestamp:
Jan 18, 2010 5:40:17 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
5740c06
Parents:
76c94b6
Message:
  • Fix removal of <title> tag from HTML messages (#1486432)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r76c94b6 r96b679d  
    22=========================== 
    33 
     4- Fix removal of <title> tag from HTML messages (#1486432) 
    45- Fix 'force_https' to specified port when URL contains a port number (#1486411) 
    56- Fix to-text converting of HTML entities inside b/strong/th/hX tags (#1486422) 
  • program/steps/mail/func.inc

    r5b3ed54 r96b679d  
    680680  $html_search = array( 
    681681    '/(<\/nobr>)(\s+)(<nobr>)/i',       // space(s) between <NOBR> 
    682     '/<title>.*<\/title>/i',            // PHP bug #32547 workaround: remove title tag 
     682    '/<title[^>]*>.*<\/title>/i',               // PHP bug #32547 workaround: remove title tag 
    683683    '/^(\0\0\xFE\xFF|\xFF\xFE\0\0|\xFE\xFF|\xFF\xFE|\xEF\xBB\xBF)/',    // byte-order mark (only outlook?) 
    684684    '/<html\s[^>]+>/i',                 // washtml/DOMDocument cannot handle xml namespaces 
Note: See TracChangeset for help on using the changeset viewer.