forked from GNUsocial/gnu-social
[COMPONENT][Tag] Remove '.' from tag regex
This commit is contained in:
parent
5c10448080
commit
8796885fa0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user