From b939bfa58b3b2cd5b79fa01a22193e512ca94413 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 26 Feb 2020 22:59:39 +0100 Subject: [PATCH] Ignore further bots Also split bots and services to fetch previews (e.g. chats) --- Configuration/Services.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Configuration/Services.yaml b/Configuration/Services.yaml index 64c4626..f6802c2 100644 --- a/Configuration/Services.yaml +++ b/Configuration/Services.yaml @@ -57,7 +57,8 @@ services: $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/") + 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 "/mattermost|Slackbot|WhatsApp/") # Dashboard Widgets