mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
Allow | in names
This commit is contained in:
parent
f43ca240f5
commit
7f181d11ca
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user