Skip to content
Extraits de code Groupes Projets
Valider d52f29d8 rédigé par marcimat's avatar marcimat
Parcourir les fichiers

On ajoute "Scrapy" comme bot.

parent 76cb33af
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* ------------------ * ------------------
*/ */
define('_ECRAN_SECURITE', '1.2.9'); // 2016-12-11 define('_ECRAN_SECURITE', '1.2.10'); // 2016-02-06
/* /*
* Documentation : http://www.spip.net/fr_article4200.html * Documentation : http://www.spip.net/fr_article4200.html
...@@ -38,7 +38,7 @@ if (!defined('_IS_BOT')) ...@@ -38,7 +38,7 @@ if (!defined('_IS_BOT'))
// MSIE 6.0 est un botnet 99,9% du temps, on traite donc ce USER_AGENT comme un bot // MSIE 6.0 est un botnet 99,9% du temps, on traite donc ce USER_AGENT comme un bot
. 'MSIE 6\.0|' . 'MSIE 6\.0|'
// UA plus cibles // UA plus cibles
. '80legs|accoona|AltaVista|ASPSeek|Baidu|Charlotte|EC2LinkFinder|eStyle|flipboard|hootsuite|FunWebProducts|Google|Genieo|INA dlweb|InfegyAtlas|Java VM|LiteFinder|Lycos|MegaIndex|MetaURI|Moreover|Rambler|Scooter|ScrubbyBloglines|Yahoo|Yeti' . '80legs|accoona|AltaVista|ASPSeek|Baidu|Charlotte|EC2LinkFinder|eStyle|flipboard|hootsuite|FunWebProducts|Google|Genieo|INA dlweb|InfegyAtlas|Java VM|LiteFinder|Lycos|MegaIndex|MetaURI|Moreover|Rambler|Scrapy|Scooter|ScrubbyBloglines|Yahoo|Yeti'
. ',i', (string) $_SERVER['HTTP_USER_AGENT']) . ',i', (string) $_SERVER['HTTP_USER_AGENT'])
); );
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter