Changeset 118777 in spip-zone


Ignore:
Timestamp:
Nov 27, 2019, 11:25:16 AM (12 days ago)
Author:
cedric@…
Message:

on ajoute un user agent suspect et une nouvelle icone SVG+PNG

Location:
_plugins_/nospam/trunk
Files:
3 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/nospam/trunk/inc/nospam.php

    r118602 r118777  
    6363                return true;
    6464        }
    65         if (!isset($_SERVER['HTTP_USER_AGENT'])) {
     65        if (!isset($_SERVER['HTTP_USER_AGENT']) or !strlen($_SERVER['HTTP_USER_AGENT'])) {
    6666                return true;
    6767        }
     
    7171                // mots generiques supplementaires
    7272                'curl',
     73                'python-requests',
    7374        )) . ',i', $_SERVER['HTTP_USER_AGENT'])) {
    7475                return true;
  • _plugins_/nospam/trunk/paquet.xml

    r118754 r118777  
    22        prefix="nospam"
    33        categorie="performance"
    4         version="2.1.4"
     4        version="2.1.5"
    55        etat="test"
    66        compatibilite="[3.1.0;3.3.*]"
    7         logo="images/nospam-32.png"
     7        logo="images/nospam-64.png"
    88        documentation="https://contrib.spip.net/NoSPAM,1165"
    99>
Note: See TracChangeset for help on using the changeset viewer.