mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 20:01:47 +02:00
Fixes #3486 - Fixes issue with files containing spaces.
This commit is contained in:
@@ -5122,7 +5122,7 @@ return;
|
||||
|
||||
if($type === 'file')
|
||||
{
|
||||
return preg_replace('/[^\w\d_\.-]/',"",$text);
|
||||
return preg_replace('/[^\w\d_\.-]/',"-",$text);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user