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

Force upload content_type to the detected mime type #107

Open
Dantemss opened this issue Feb 24, 2016 · 0 comments
Open

Force upload content_type to the detected mime type #107

Dantemss opened this issue Feb 24, 2016 · 0 comments

Comments

@Dantemss
Copy link
Member

In the attachment uploader, we detect the upload's mime type using magic. Force the uploader's content_type to the detected mime type to be safe (carrierwave detects content_type by extension).

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

No branches or pull requests

1 participant