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 powerpoint .ppt definition #3

Merged
merged 2 commits into from
Mar 26, 2018
Merged

Conversation

excid3
Copy link
Contributor

@excid3 excid3 commented Mar 26, 2018

While building a previewer for ActiveStorage, I uploaded a .ppt file I exported from Keynote. You can see in the params hash the content type is application/vnd.ms-powerpoint but once it gets to the previewer it's application/x-ole-storage which is generic across several formats. This adds a definition for Powerpoint so those get recognized correctly.

@georgeclaghorn
Copy link
Contributor

Thanks! Do you have a minimal sample file that could be added as a test fixture?

@excid3
Copy link
Contributor Author

excid3 commented Mar 26, 2018

Was just working on making one for ya. 👍

@excid3
Copy link
Contributor Author

excid3 commented Mar 26, 2018

And done!

@georgeclaghorn georgeclaghorn merged commit 4dd143a into rails:master Mar 26, 2018
@georgeclaghorn
Copy link
Contributor

Thanks again! I just released version 0.3.2 with this fix.

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