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

call back function or method on sanitizeFileName #2432

Merged
merged 2 commits into from Mar 22, 2018

Conversation

Yves-K
Copy link
Contributor

@Yves-K Yves-K commented Mar 21, 2018

sanitizeFileName is great but we can't do everything with arrays or regular expressions...

I propose to add a callBack param on plugin config so we can use a function (or method) to fine tune the filename.

Tested on multiple production sites with success

Yves-K and others added 2 commits March 21, 2018 23:06
sanitizeFileName is great but we can't do everytging with arrays or regular expressions...

I propose to add a callBack param on plugin config so we can use a function (or method) to fine tune the filename.

Tested on multiple production sites with success
@nao-pon nao-pon merged commit 1eeab40 into Studio-42:master Mar 22, 2018
@nao-pon
Copy link
Member

nao-pon commented Mar 22, 2018

@Yves-K Thanks! 👍

@Yves-K Yves-K deleted the patch-1 branch April 3, 2018 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants