Skip to content

Commit 0254d63

Browse files
committed
FD-78507: Add optional trailing slash to ignored Urls list for files
1 parent d8fd729 commit 0254d63

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-
"/^(.*\.(ico|css|js|json|pdf|xml|eot|ott|ttf|woff|woff2|gif|jpg|png|svg|avi|mov|mp4|mpeg|mpg|wmv|ogg|ogv)$)|(\/wp-admin)|(\/wp-content)|(\/wp-includes)|(\/wp\-cron\.php)/"
50+
"/^(.*\.(ico|css|js|json|pdf|xml|eot|ott|ttf|woff|woff2|gif|jpg|png|svg|avi|mov|mp4|mpeg|mpg|wmv|ogg|ogv)(\/*)$)|(\/wp-admin)|(\/wp-content)|(\/wp-includes)|(\/wp\-cron\.php)/"
5151
);
5252
$this->gateKeeper->checkRequest();
5353
$this->gateKeeper->redirectIfNotPromoted();

0 commit comments

Comments
 (0)