fix(fetchers/tags.php.liquid): allow for & characters in tag names
This commit is contained in:
parent
678384d8d9
commit
5d956c60d5
3 changed files with 32 additions and 32 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue