Allow | in names

This commit is contained in:
zone 2001-06-25 21:14:52 +00:00
parent f43ca240f5
commit 7f181d11ca

View File

@ -87,7 +87,7 @@ function borkb ($size, $enclosed = NULL, $return = 0)
function bad_chars ($string, $return = 0)
{
if (preg_match("-([\\\|/|<|>|\"])-", $string, $badchars))
if (preg_match("-([\\/<>\"])-", $string, $badchars))
$rstring = $badchars[1];
return trim ((eor ($rstring, $return)));