fix(fetchers/tags.php.liquid): allow for & characters in tag names

This commit is contained in:
Cory Dransfeldt 2025-04-21 16:38:43 -07:00
parent 678384d8d9
commit 5d956c60d5
No known key found for this signature in database
3 changed files with 32 additions and 32 deletions

View file

@ -27,7 +27,7 @@ if (isset($matches[2]) && (int)$matches[2] === 1) {
$tag = strtolower(urldecode($matches[1]));
if (!preg_match('/^[\p{L}\p{N} _\.\-]+$/u', $tag)) {
if (!preg_match('/^[\p{L}\p{N} _\.\-\&]+$/u', $tag)) {
echo file_get_contents(__DIR__ . "/../404/index.html");
exit();
}