1
0
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:
Cameron
2018-10-02 13:07:26 -07:00
parent bf49853f67
commit 5cc1b18f80
2 changed files with 2 additions and 2 deletions

View File

@@ -5122,7 +5122,7 @@ return;
if($type === 'file')
{
return preg_replace('/[^\w\d_\.-]/',"",$text);
return preg_replace('/[^\w\d_\.-]/',"-",$text);
}