To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #424: aHtml.diff

File aHtml.diff, 0.6 KB (added by anonymous, 2 years ago)

diff file

  • lib/toolkit/aHtml.class.php

     
    523523      // We get some weird escaping problems without the trims 
    524524      $user = trim($user); 
    525525      $domain = trim($domain); 
     526      // So fancy setting of body and subject from FCKEditor works as intended 
     527      $domain = str_replace(array('&body=','&subject='), array('&body=','&subject='), $domain); 
    526528      $guid = aGuid::generate(); 
    527529      $href = self::jsEscape("mailto:$user@$domain"); 
    528530      $label = self::jsEscape(trim($label));