Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag-drop folder sanitize problem #2532

Closed
aktolu opened this issue Jun 5, 2018 · 3 comments
Closed

Drag-drop folder sanitize problem #2532

aktolu opened this issue Jun 5, 2018 · 3 comments
Assignees

Comments

@aktolu
Copy link

aktolu commented Jun 5, 2018

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

@nao-pon nao-pon self-assigned this Jun 5, 2018
@nao-pon
Copy link
Member

nao-pon commented Jun 5, 2018

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

Thanks! 👍

@nao-pon nao-pon closed this as completed in 03c7278 Jun 5, 2018
@nao-pon
Copy link
Member

nao-pon commented Jun 5, 2018

@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',
	)
),

@aktolu
Copy link
Author

aktolu commented Jun 5, 2018

@nao-pon THANK YOU VERY MUCH.

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

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants