From 8796885fa00354a3b35d4cb54f37192475899ecd Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Mon, 27 Dec 2021 18:22:35 +0000 Subject: [PATCH] [COMPONENT][Tag] Remove '.' from tag regex --- components/Tag/Tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Tag/Tag.php b/components/Tag/Tag.php index 6afb0d8015..61ab27e276 100644 --- a/components/Tag/Tag.php +++ b/components/Tag/Tag.php @@ -58,7 +58,7 @@ use Symfony\Component\HttpFoundation\Request; class Tag extends Component { public const MAX_TAG_LENGTH = 64; - public const TAG_REGEX = '/(^|\\s)(#[\\pL\\pN_\\-\\.]{1,64})/u'; // Brion Vibber 2011-02-23 v2:classes/Notice.php:367 function saveTags + public const TAG_REGEX = '/(^|\\s)(#[\\pL\\pN_\\-]{1,64})/u'; // Brion Vibber 2011-02-23 v2:classes/Notice.php:367 function saveTags public const TAG_SLUG_REGEX = '[A-Za-z0-9]{1,64}'; public function onAddRoute($r): bool