Skip to content

Commit 4beeb7a

Browse files
Merge branch 'support/ignore-regex-revision' into strip-ch-url-parameters
2 parents b3d4432 + 822633f commit 4beeb7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

includes/class-crowdhandler-gatekeeper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function checkRequest()
4747
$this->gateKeeper = new GateKeeper($api);
4848

4949
$this->gateKeeper->setIgnoreUrls(
50-
"/^((?!.*\?).*(\.(avi|css|eot|gif|ico|jpg|jpeg|js|json|mov|mp4|mpeg|mpg|og[g|v]|pdf|png|svg|ttf|txt|wmv|woff|woff2|xml))$)|(?!.*\?.*w[c|p]-.+).*(^.*w[c|p]-.+)|^((?!.*\?.*xmlrpc\.php).*xmlrpc.php)|\?rest_route=.+/"
50+
"/^((?!.*\?).*(\.(avi|css|eot|gif|ico|jpg|jpeg|js|json|mov|mp4|mpeg|mpg|og[g|v]|pdf|png|svg|tiff|ttf|txt|wmv|woff|woff2|xml))$)|.*(^.*w[c|p]-.+)|^((?!.*\?.*xmlrpc\.php).*xmlrpc.php)|\?rest_route=.+/"
5151
);
5252

5353
$isHostServer = $this->gateKeeper->ip === $_SERVER["SERVER_ADDR"];

0 commit comments

Comments
 (0)