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

Wrong preferred_extension for application/pdf #143

Closed
brunto opened this issue Oct 21, 2019 · 1 comment
Closed

Wrong preferred_extension for application/pdf #143

brunto opened this issue Oct 21, 2019 · 1 comment

Comments

@brunto
Copy link

brunto commented Oct 21, 2019

With the version 3.3 the extension for PDF document is wrong:

MIME::Types['application/pdf'].last.preferred_extension return .ai

With the previous version:

MIME::Types['application/pdf'].last.preferred_extension return .pdf

@halostatue
Copy link
Member

This is not a bug in mime-types, but in mime-types-data. Update that gem to 3.2019.1009 and the issue will fix itself. Resolved in mime-types/mime-types-data#24.

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

2 participants