Allow dots in URL

This commit is contained in:
SamBrishes 2020-07-07 09:14:45 +02:00
parent c2274ca92c
commit 5790962dee

View file

@ -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, '-');