diff --git a/Model/RewriteurlRule.php b/Model/RewriteurlRule.php index 4c29c57..cd228b0 100644 --- a/Model/RewriteurlRule.php +++ b/Model/RewriteurlRule.php @@ -51,7 +51,7 @@ protected function isMatchingPath(string $url): bool { if (!empty($this->getValue())) { try { - $match = @preg_match('/' . $this->getValue() . '/', $url); + $match = preg_match('/' . preg_quote($this->getValue(), '/i') . '/', $url); if (false === $match) { Tlog::getInstance()->error('Invalid pattern: ' . $this->getValue());