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 support for unknown file extensions by assigning them binary MIME type. #1075

Merged
merged 1 commit into from
Dec 4, 2019

Conversation

sachingarg05
Copy link

Code crashes when trying to attach any files with unknown extensions to emails (like .log files, etc) because iOS does not return a mime type for such files (it returns nil).

This patch assigns binary mime type to any unknown file extensions to fix this.

@EddyVerbruggen EddyVerbruggen merged commit ea84822 into EddyVerbruggen:master Dec 4, 2019
@EddyVerbruggen EddyVerbruggen added this to the 5.6.3 milestone Dec 4, 2019
@EddyVerbruggen
Copy link
Owner

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants