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

Add validation rule to Mosaico uploader #489

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

monishdeb
Copy link
Contributor

I tried do it a generic way, like fetch a mutual list of allowed file types from civi's safe_file_extensions option group and mosaico internal library but there seems to be few limitations on doing so. So I went with harcoded file extension which are allowed image ext in both mosaico and civicrm

@monishdeb
Copy link
Contributor Author

@colemanw @lcdservices can you please review this patch !!

@mattwire mattwire changed the title Add validation rule to Mosacio uploader Add validation rule to Mosaico uploader Feb 23, 2022
@mattwire mattwire merged commit a7c9956 into veda-consulting-company:2.x Oct 3, 2022
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.

2 participants