mime-types/ruby-mime-types

Wrong preferred_extension for application/pdf

brunto opened this issue · 1 comments

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

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.