Elfinder: Drag-drop folder sanitize problem

Created on 5 Jun 2018  路  3Comments  路  Source: Studio-42/elFinder

I have a problem on drag-drop multi-level hierarchical folders and files.

example folder stucture:

枚folder/
枚folder/枚file.jpg

After drag-drop on server:
枚folder/ofile.jpg
// filename right but folder name is not have sanitize

Why folders not have saniteze?

My bind:

'bind' => array(
    'mkdir.pre mkfile.pre rename.pre' => array(
        'Plugin.Sanitizer.cmdPreprocess',
    ),
    'upload.presave' => array(
        'Plugin.Sanitizer.onUpLoadPreSave',
    )
),

Thank you

connector bug

All 3 comments

@aktolu This is a bug of plugins (Sanitizer and Normalizer). So I'll fix it.

Thanks! 馃憤

@aktolu I done. Please change your bind to more correctly.

'bind' => array(
    'upload.pre mkdir.pre mkfile.pre rename.pre archive.pre ls.pre' => array(
        'Plugin.Sanitizer.cmdPreprocess',
    ),
    'upload.presave' => array(
        'Plugin.Sanitizer.onUpLoadPreSave',
    )
),

@nao-pon THANK YOU VERY MUCH.

I was update Sanitizer and Normalizer plugins, after change your say binds and works fine.

Cheers!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shiyee picture shiyee  路  3Comments

DaeMonSx picture DaeMonSx  路  4Comments

CodeLyokoXtEAM picture CodeLyokoXtEAM  路  3Comments

golee picture golee  路  3Comments

camgullo picture camgullo  路  3Comments