Skip to content

Commit

Permalink
Merge pull request #8758 from PierreJoube/PSCSX-BOOM-4817
Browse files Browse the repository at this point in the history
Adding "¤" and "|" to isName()
  • Loading branch information
Pablo Borowicz committed Sep 24, 2018
2 parents 95e9cfc + 00c5512 commit b335ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Validate.php
Expand Up @@ -156,7 +156,7 @@ public static function isImageSize($size)
*/ */
public static function isName($name) public static function isName($name)
{ {
return preg_match(Tools::cleanNonUnicodeSupport('/^[^0-9!<>,;?=+()@#"°{}_$%:]*$/u'), stripslashes($name)); return preg_match(Tools::cleanNonUnicodeSupport('/^[^0-9!<>,;?=+()@#"°{}_$%:¤|]*$/u'), stripslashes($name));
} }


/** /**
Expand Down

0 comments on commit b335ee1

Please sign in to comment.