Update to main of ext:tracking for PHP8 compat testing

This commit is contained in:
Daniel Siepmann 2022-09-16 15:04:31 +02:00
parent a9962198ba
commit 38d465f034

View file

@ -134,7 +134,7 @@ services:
$rule: >
not (context.getAspect("backend.user").isLoggedIn())
and not (context.getAspect("frontend.preview").isPreview())
and request.getHeader("User-Agent")[0]
and traverse(request.getHeader("User-Agent"), '0')
and not (request.getHeader("User-Agent")[0] matches "/^TYPO3|TYPO3 linkvalidator/")
and not (request.getHeader("User-Agent")[0] matches "/^Codeception Testing/")
and not (request.getHeader("User-Agent")[0] matches "/Wget|curl|Go-http-client/")
@ -147,14 +147,14 @@ services:
$rules:
topics:
matches: >
request.getQueryParams()["topic_uid"] > 0
traverse(request.getQueryParams(), "topic_uid") > 0
and not (context.getAspect("backend.user").isLoggedIn())
and not (context.getAspect("frontend.preview").isPreview())
and request.getHeader("User-Agent")[0]
and traverse(request.getHeader("User-Agent"), '0')
and not (request.getHeader("User-Agent")[0] matches "/^TYPO3|TYPO3 linkvalidator/")
and not (request.getHeader("User-Agent")[0] matches "/^Codeception Testing/")
and not (request.getHeader("User-Agent")[0] matches "/Wget|curl|Go-http-client/")
and not (request.getHeader("User-Agent")[0] matches "/bot|spider|Slurp|Sogou|NextCloud-News|Feedly|XING FeedReader|SEOkicks|Seekport Crawler|ia_archiver|TrendsmapResolver|Nuzzel/")
and not (request.getHeader("User-Agent")[0] matches "/mattermost|Slackbot|WhatsApp/")
recordUid: 'request.getQueryParams()["topic_uid"]'
recordUid: 'traverse(request.getQueryParams(), "topic_uid")'
tableName: 'sys_category'