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

Treat image/bmp as a valid content type #44916

Merged
merged 1 commit into from
May 21, 2022
Merged

Conversation

ghiculescu
Copy link
Member

This is a follow up to #42227 (comment)

The mime types database was incorrect regarding image/bmp. It has been fixed in mime-types/mime-types-data#48 and in discourse/mini_mime#45

Since a new version of mini_mime hasn't been cut yet, some of the tests in this PR look a bit off. But the core issue of not warning users if they use image/bmp is resolved.

This is a follow up to rails#42227 (comment)

The mime types database was incorrect regarding `image/bmp`. It has been fixed in mime-types/mime-types-data#48 and in discourse/mini_mime#45

Since a new version of `mini_mime` hasn't been cut yet, some of the tests in this PR look a bit off. But the core issue of not warning users if they use `image/bmp` is resolved.
@ghiculescu
Copy link
Member Author

@rafaelfranca tagging you as this affects what's deprecated in 7.1

@byroot byroot merged commit 26bbb0c into rails:main May 21, 2022
@ghiculescu ghiculescu deleted the image-bmp branch May 21, 2022 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants