Changeset 113259 in spip-zone


Ignore:
Timestamp:
Jan 5, 2019, 1:51:15 PM (7 weeks ago)
Author:
rastapopoulos@…
Message:

màd lib, mais il va valloir passer à la version majeure suivante 6, car la branche 5 n'est plus maintenue à partir de cette semaine.

Location:
_plugins_/facteur/trunk
Files:
2 added
1 deleted
6 edited

Legend:

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

    r112654 r113259  
    22        prefix="facteur"
    33        categorie="communication"
    4         version="3.6.1"
     4        version="3.6.2"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.2.*]"
  • _plugins_/facteur/trunk/phpmailer-php5/LICENSE

    r89555 r113259  
    1                   GNU LESSER GENERAL PUBLIC LICENSE
    2                        Version 2.1, February 1999
     1                  GNU LESSER GENERAL PUBLIC LICENSE
     2                       Version 2.1, February 1999
    33
    44 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
    5      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     5 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    66 Everyone is permitted to copy and distribute verbatim copies
    77 of this license document, but changing it is not allowed.
     
    1111 the version number 2.1.]
    1212
    13                             Preamble
     13                            Preamble
    1414
    1515  The licenses for most software are designed to take away your
     
    5757introduced by others.
    5858
     59
    5960  Finally, software patents pose a constant threat to the existence of
    6061any free program.  We wish to make sure that a company cannot
     
    113114be combined with the library in order to run.
    114115
    115                   GNU LESSER GENERAL PUBLIC LICENSE
     116
     117                  GNU LESSER GENERAL PUBLIC LICENSE
    116118   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    117119
     
    147149writing it).  Whether that is true depends on what the Library does
    148150and what the program that uses the Library does.
    149  
     151
    150152  1. You may copy and distribute verbatim copies of the Library's
    151153complete source code as you receive it, in any medium, provided that
     
    159161and you may at your option offer warranty protection in exchange for a
    160162fee.
     163
    161164
    162165  2. You may modify your copy or copies of the Library or any portion
     
    218221these notices.
    219222
     223
    220224  Once this change is made in a given copy, it is irreversible for
    221225that copy, so the ordinary GNU General Public License applies to all
     
    268272Any executables containing that work also fall under Section 6,
    269273whether or not they are linked directly with the Library itself.
     274
    270275
    271276  6. As an exception to the Sections above, you may also combine or
     
    313318    specified materials from the same place.
    314319
    315     e) verify that the user has already received a copy of these
     320    e) Verify that the user has already received a copy of these
    316321    materials or that you have already sent this user a copy.
    317322
     
    331336distribute.
    332337
     338
    333339  7. You may place library facilities that are a work based on the
    334340Library side-by-side in a single library together with other library
     
    371377You are not responsible for enforcing compliance by third parties with
    372378this License.
     379
    373380
    374381  11. If, as a consequence of a court judgment or allegation of patent
     
    424431the Free Software Foundation.
    425432
     433
    426434  14. If you wish to incorporate parts of the Library into other free
    427435programs whose distribution conditions are incompatible with these,
     
    433441and reuse of software generally.
    434442
    435                             NO WARRANTY
     443                            NO WARRANTY
    436444
    437445  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
     
    456464DAMAGES.
    457465
    458                      END OF TERMS AND CONDITIONS
     466                     END OF TERMS AND CONDITIONS
     467
    459468
    460469           How to Apply These Terms to Your New Libraries
     
    486495    You should have received a copy of the GNU Lesser General Public
    487496    License along with this library; if not, write to the Free Software
    488     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     497    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    489498
    490499Also add information on how to contact you by electronic and paper mail.
     
    501510
    502511That's all there is to it!
    503 
    504 
  • _plugins_/facteur/trunk/phpmailer-php5/VERSION

    r109788 r113259  
    1 5.2.26
     15.2.27
  • _plugins_/facteur/trunk/phpmailer-php5/class.phpmailer.php

    r109788 r113259  
    3232     * @var string
    3333     */
    34     public $Version = '5.2.26';
     34    public $Version = '5.2.27';
    3535
    3636    /**
     
    12971297            // Sign with DKIM if enabled
    12981298            if (!empty($this->DKIM_domain)
    1299                 && !empty($this->DKIM_selector)
    1300                 && (!empty($this->DKIM_private_string)
    1301                    || (!empty($this->DKIM_private) && file_exists($this->DKIM_private))
     1299                and !empty($this->DKIM_selector)
     1300                and (!empty($this->DKIM_private_string)
     1301                    or (!empty($this->DKIM_private)
     1302                        and self::isPermittedPath($this->DKIM_private)
     1303                        and file_exists($this->DKIM_private)
     1304                    )
    13021305                )
    13031306            ) {
     
    14621465
    14631466        return true;
     1467    }
     1468
     1469    /**
     1470     * Check whether a file path is of a permitted type.
     1471     * Used to reject URLs and phar files from functions that access local file paths,
     1472     * such as addAttachment.
     1473     * @param string $path A relative or absolute path to a file.
     1474     * @return bool
     1475     */
     1476    protected static function isPermittedPath($path)
     1477    {
     1478        return !preg_match('#^[a-z]+://#i', $path);
    14641479    }
    14651480
     
    17921807        if ($langcode != 'en') {
    17931808            // Make sure language file path is readable
    1794             if (!is_readable($lang_file)) {
     1809            if (!self::isPermittedPath($lang_file) or !is_readable($lang_file)) {
    17951810                $foundlang = false;
    17961811            } else {
     
    25002515     * Never use a user-supplied path to a file!
    25012516     * Returns false if the file could not be found or read.
     2517     * Explicitly *does not* support passing URLs; PHPMailer is not an HTTP client.
     2518     * If you need to do that, fetch the resource yourself and pass it in via a local file or string.
    25022519     * @param string $path Path to the attachment.
    25032520     * @param string $name Overrides the attachment name.
     
    25112528    {
    25122529        try {
    2513             if (!@is_file($path)) {
     2530            if (!self::isPermittedPath($path) or !@is_file($path)) {
    25142531                throw new phpmailerException($this->lang('file_access') . $path, self::STOP_CONTINUE);
    25152532            }
     
    26922709    {
    26932710        try {
    2694             if (!is_readable($path)) {
     2711            if (!self::isPermittedPath($path) or !file_exists($path)) {
    26952712                throw new phpmailerException($this->lang('file_open') . $path, self::STOP_CONTINUE);
    26962713            }
     
    30363053    public function addEmbeddedImage($path, $cid, $name = '', $encoding = 'base64', $type = '', $disposition = 'inline')
    30373054    {
    3038         if (!@is_file($path)) {
     3055        if (!self::isPermittedPath($path) or !@is_file($path)) {
    30393056            $this->setError($this->lang('file_access') . $path);
    30403057            return false;
  • _plugins_/facteur/trunk/phpmailer-php5/class.pop3.php

    r109788 r113259  
    3535     * @access public
    3636     */
    37     public $Version = '5.2.26';
     37    public $Version = '5.2.27';
    3838
    3939    /**
  • _plugins_/facteur/trunk/phpmailer-php5/class.smtp.php

    r109788 r113259  
    3131     * @var string
    3232     */
    33     const VERSION = '5.2.26';
     33    const VERSION = '5.2.27';
    3434
    3535    /**
     
    8282     * @see SMTP::VERSION
    8383     */
    84     public $Version = '5.2.26';
     84    public $Version = '5.2.27';
    8585
    8686    /**
Note: See TracChangeset for help on using the changeset viewer.