Update to main of ext:tracking for PHP8 compat testing
This commit is contained in:
parent
a9962198ba
commit
38d465f034
1 changed files with 4 additions and 4 deletions
|
@ -134,7 +134,7 @@ services:
|
||||||
$rule: >
|
$rule: >
|
||||||
not (context.getAspect("backend.user").isLoggedIn())
|
not (context.getAspect("backend.user").isLoggedIn())
|
||||||
and not (context.getAspect("frontend.preview").isPreview())
|
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 "/^TYPO3|TYPO3 linkvalidator/")
|
||||||
and not (request.getHeader("User-Agent")[0] matches "/^Codeception Testing/")
|
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 "/Wget|curl|Go-http-client/")
|
||||||
|
@ -147,14 +147,14 @@ services:
|
||||||
$rules:
|
$rules:
|
||||||
topics:
|
topics:
|
||||||
matches: >
|
matches: >
|
||||||
request.getQueryParams()["topic_uid"] > 0
|
traverse(request.getQueryParams(), "topic_uid") > 0
|
||||||
and not (context.getAspect("backend.user").isLoggedIn())
|
and not (context.getAspect("backend.user").isLoggedIn())
|
||||||
and not (context.getAspect("frontend.preview").isPreview())
|
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 "/^TYPO3|TYPO3 linkvalidator/")
|
||||||
and not (request.getHeader("User-Agent")[0] matches "/^Codeception Testing/")
|
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 "/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 "/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/")
|
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'
|
tableName: 'sys_category'
|
||||||
|
|
Loading…
Reference in a new issue