We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a379d1 commit 54143adCopy full SHA for 54143ad
composer.json
@@ -1,7 +1,7 @@
1
{
2
"name": "tinect/redirects",
3
"description": "Redirect plugin for Shopware 6",
4
- "version": "3.1.2",
+ "version": "3.1.3",
5
"type": "shopware-platform-plugin",
6
"license": "MIT",
7
"authors": [
src/Subscriber/isExcludedEventSubscriber.php
@@ -81,7 +81,7 @@ public function isExcluded(IsExcludedEvent $event): void
81
82
foreach ($excludes as $exclude) {
83
try {
84
- if (\preg_match($exclude, $path) !== false) {
+ if (\preg_match($exclude, $path) === 1) {
85
$event->setIsExcluded(true);
86
87
return;
0 commit comments