Changeset 79377 in spip-zone for _plugins_/facteur


Ignore:
Timestamp:
Dec 16, 2013, 8:37:37 AM (6 years ago)
Author:
cedric@…
Message:

Preciser le charset courant dans l'appel a html_entity_decode()

Location:
_plugins_/facteur/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/facteur/trunk/paquet.xml

    r79266 r79377  
    22        prefix="facteur"
    33        categorie="communication"
    4         version="3.0.6"
     4        version="3.0.7"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.0.*]"
  • _plugins_/facteur/trunk/phpmailer-php5/class.phpmailer.php

    r79054 r79377  
    20252025    $textMsg = trim(strip_tags(preg_replace('/<(head|title|style|script)[^>]*>.*?<\/\\1>/s','',$message)));
    20262026    if (!empty($textMsg) && empty($this->AltBody)) {
    2027       $this->AltBody = html_entity_decode($textMsg);
     2027      $this->AltBody = html_entity_decode($textMsg,ENT_COMPAT | ENT_HTML401, strtoupper($this->CharSet));
    20282028    }
    20292029    if (empty($this->AltBody)) {
Note: See TracChangeset for help on using the changeset viewer.