We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42fdd38 commit 3349211Copy full SHA for 3349211
1 file changed
includes/class-crowdhandler-gatekeeper.php
@@ -47,7 +47,7 @@ public function checkRequest()
47
$this->gateKeeper = new GateKeeper($api);
48
49
$this->gateKeeper->setIgnoreUrls(
50
- "/^(.*(?<!\?)\.(ico|css|js|json|pdf|xml|eot|ott|ttf|woff|woff2|gif|jpg|jpeg|png|svg|avi|mov|mp4|mpeg|mpg|wmv|ogg|ogv)(\/*)$)|(^.*w[c|p]-.+)|(^.*(?<!\?)\/robots.txt)|(^.*(?<!\?)\/xmlrpc.php)/"
+ "/^((?!.*\?).*(\.(avi|css|eot|gif|ico|jp[e|g]|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)/"
51
);
52
53
$this->gateKeeper->checkRequest();
0 commit comments