CC-2571 : Media Monitor Bootstrap
fixing up character encoding issues.
This commit is contained in:
parent
c6c02bf13b
commit
b302006100
5 changed files with 57 additions and 48 deletions
|
@ -735,7 +735,8 @@ class StoredFile {
|
|||
$fileName = isset($_REQUEST["name"]) ? $_REQUEST["name"] : '';
|
||||
|
||||
// Clean the fileName for security reasons
|
||||
$fileName = preg_replace('/[^\w\._]+/', '', $fileName);
|
||||
//this needs fixing for songs not in ascii.
|
||||
//$fileName = preg_replace('/[^\w\._]+/', '', $fileName);
|
||||
|
||||
// Create target dir
|
||||
if (!file_exists($p_targetDir))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue