mirror of
https://github.com/e107inc/e107.git
synced 2025-08-14 02:24:08 +02:00
New parser filter added for file names.
This commit is contained in:
@@ -4369,6 +4369,11 @@ return;
|
||||
return preg_replace('/[^\w\d ]/',"",$text);
|
||||
}
|
||||
|
||||
if($type == 'file')
|
||||
{
|
||||
return preg_replace('/[^\w\d_\.-]/',"",$text);
|
||||
}
|
||||
|
||||
|
||||
if($validate == false)
|
||||
{
|
||||
|
Reference in New Issue
Block a user