Permalink
Browse files

Merge pull request #8758 from PierreJoube/PSCSX-BOOM-4817

Adding "¤" and "|" to isName()
  • Loading branch information...
eternoendless committed Sep 24, 2018
2 parents 95e9cfc + 00c5512 commit b335ee1634fe86d7ac3e5bc67ae9c1d67a0a8f89
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/Validate.php
@@ -156,7 +156,7 @@ public static function isImageSize($size)
*/
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));
}
/**

0 comments on commit b335ee1

Please sign in to comment.