From 5790962dee6f032a03721a0590e95832c66a4ccc Mon Sep 17 00:00:00 2001 From: SamBrishes Date: Tue, 7 Jul 2020 09:14:45 +0200 Subject: [PATCH] Allow dots in URL --- bl-kernel/helpers/text.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-kernel/helpers/text.class.php b/bl-kernel/helpers/text.class.php index 2a53cebd..9ab93bef 100644 --- a/bl-kernel/helpers/text.class.php +++ b/bl-kernel/helpers/text.class.php @@ -176,7 +176,7 @@ class Text { } } - $string = preg_replace("/[^a-zA-Z0-9\/_|+ -]/", '', $string); + $string = preg_replace("/[^a-zA-Z0-9\/_|+. -]/", '', $string); $string = self::lowercase($string); $string = preg_replace("/[\/_|+ -]+/", $separator, $string); $string = trim($string, '-');