From 328bf3c58ea375f8fe8fd448ebe9e9a5819de4b9 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 1 Apr 2020 11:39:05 +0200 Subject: [PATCH] Split clients like wget out of bots blacklist --- Configuration/Services.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Configuration/Services.yaml b/Configuration/Services.yaml index f6802c2..38d6e73 100644 --- a/Configuration/Services.yaml +++ b/Configuration/Services.yaml @@ -56,8 +56,9 @@ services: arguments: $rule: > not (context.getAspect("backend.user").isLoggedIn()) - and not (request.getHeader("User-Agent")[0] matches "/^Wget|TYPO3|TYPO3 linkvalidator/") - and not (request.getHeader("User-Agent")[0] matches "/Googlebot|Bingbot|bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Sogou|Exabot|NextCloud-News|Feedly|XING FeedReader|CCBot|SemrushBot|SEOkicks|Twitterbot|Seekport Crawler|SemanticScholarBot|curl|ia_archiver|PaperLiBot|TrendsmapResolver|AhrefsBot|Nuzzel/") + and not (request.getHeader("User-Agent")[0] matches "/^TYPO3|TYPO3 linkvalidator/") + and not (request.getHeader("User-Agent")[0] matches "/Wget|curl|Go-http-client/") + and not (request.getHeader("User-Agent")[0] matches "/Googlebot|Bingbot|bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Sogou|Exabot|NextCloud-News|Feedly|XING FeedReader|CCBot|SemrushBot|SEOkicks|Twitterbot|Seekport Crawler|SemanticScholarBot|ia_archiver|PaperLiBot|TrendsmapResolver|AhrefsBot|Nuzzel/") and not (request.getHeader("User-Agent")[0] matches "/mattermost|Slackbot|WhatsApp/") # Dashboard Widgets