Ignore:
Timestamp:
Dec 27, 2016, 11:46:52 AM (3 years ago)
Author:
brunobergot@…
Message:

version 3.4.6 : sécurité, maj de la lib PHPMailer en version 5.2.19

on en profite pour ajouter PHPMailer aux crédits du plugin

astuce en cadeau, les commandes svn pour retirer les fichiers absents ou ajouteur les nouveaux :

svn rm $( svn status | sed -e '/^!/!d' -e 's/^!//' ) + svn add $( svn status | sed -e '/^?/!d' -e 's/^?//' )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/facteur/trunk/phpmailer-php5/extras/htmlfilter.php

    r89555 r101345  
    462462 *
    463463 * @param string $attvalue A string to run entity check against.
    464  * @return             Void, modifies a reference value.
    465464 */
    466465function tln_defang(&$attvalue)
     
    489488 *
    490489 * @param string $attvalue     The attribute value before extraneous spaces removed.
    491  * @return     Void, modifies a reference value.
    492490 */
    493491function tln_unspace(&$attvalue)
     
    512510 * @param string $trans_image_path
    513511 * @param boolean $block_external_images
    514  * @return                                      Array with modified attributes.
     512 * @return array with modified attributes.
    515513 */
    516514function tln_fixatts(
     
    668666function tln_fixstyle($body, $pos, $trans_image_path, $block_external_images)
    669667{
    670     $me = 'tln_fixstyle';
    671668    // workaround for </style> in between comments
    672     $iCurrentPos = $pos;
    673669    $content = '';
    674670    $sToken = '';
     
    741737    $content = preg_replace("|body(\s*\{.*?\})|si", ".bodyclass\\1", $content);
    742738
    743     $trans_image_path = $trans_image_path;
    744 
    745739    /**
    746740    * Fix url('blah') declarations.
     
    797791function tln_body2div($attary, $trans_image_path)
    798792{
    799     $me = 'tln_body2div';
    800793    $divattary = array('class' => "'bodyclass'");
    801794    $text = '#000000';
     
    902895                $trusted .= tln_tagprint($tagname, $attary, $tagtype);
    903896                $trusted .= $free_content;
    904                 $trusted .= tln_tagprint($tagname, false, 2);
     897                $trusted .= tln_tagprint($tagname, null, 2);
    905898            }
    906899            continue;
Note: See TracChangeset for help on using the changeset viewer.