From 7ac1c32ad6b890a7c8360e4b458e116840d7eb3a Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Wed, 2 Dec 2020 12:02:49 +0100 Subject: [PATCH] Fixed typo --- module/Core/functions/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Core/functions/functions.php b/module/Core/functions/functions.php index 6c82cbc7..6ae232be 100644 --- a/module/Core/functions/functions.php +++ b/module/Core/functions/functions.php @@ -18,7 +18,7 @@ const MIN_SHORT_CODES_LENGTH = 4; const DEFAULT_REDIRECT_STATUS_CODE = StatusCodeInterface::STATUS_FOUND; const DEFAULT_REDIRECT_CACHE_LIFETIME = 30; const LOCAL_LOCK_FACTORY = 'Shlinkio\Shlink\LocalLockFactory'; -const CUSTOM_SLUGS_REGEXP = '/[^\pL\pN._~]/u'; // Any unicode word or number, plus ".", "_" and "~" chars +const CUSTOM_SLUGS_REGEXP = '/[^\pL\pN._~]/u'; // Any unicode letter or number, plus ".", "_" and "~" chars function generateRandomShortCode(int $length): string {