Changeset bf1b66bf in github


Ignore:
Timestamp:
Sep 30, 2009 2:06:41 PM (4 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
cb89616
Parents:
52bd7bf
Message:
  • Fix handling HTML comments in HTML messages (#1486189)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r8583d64 rbf1b66bf  
    22=========================== 
    33 
     4- Fix handling HTML comments in HTML messages (#1486189) 
    45- Fix folder/messagelist controls alignment - icons used (#1486072) 
    56- Fix LDAP addressbook shows 'Contact not found' error sometimes (#1486178) 
  • program/steps/mail/func.inc

    rcbeea3d rbf1b66bf  
    735735  // allow CSS styles, will be sanitized by rcmail_washtml_callback() 
    736736  $washer->add_callback('style', 'rcmail_washtml_callback'); 
    737      
     737 
    738738  $html = $washer->wash($html); 
    739739  $REMOTE_OBJECTS = $washer->extlinks; 
     
    893893  $tagname = $matches[2]; 
    894894 
     895  // html comments (#1486189) 
     896  if ($matches[1] == '<!') 
     897    return '<!'; 
     898     
    895899  $tagname = preg_replace(array( 
    896900    '/:.*$/',           // Microsoft's Smart Tags <st1:xxxx> 
Note: See TracChangeset for help on using the changeset viewer.