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
@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!