Does not allow special char in file name
This commit is contained in:
parent
6ab140f169
commit
5f55cb864e
@ -421,7 +421,8 @@ class EcmDirectory // extends CommonObject
|
|||||||
|
|
||||||
if ($cursorindex >= 0)
|
if ($cursorindex >= 0)
|
||||||
{
|
{
|
||||||
$ret=$this->cats[$cursorindex]['label'].'/'.$ret;
|
// Path is label sanitized (no space and no special char) and concatenated
|
||||||
|
$ret=sanitize_string($this->cats[$cursorindex]['label']).'/'.$ret;
|
||||||
|
|
||||||
$idtosearch=$this->cats[$cursorindex]['id_mere'];
|
$idtosearch=$this->cats[$cursorindex]['id_mere'];
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user