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

Consider using another source for MIME types #37412

Closed
javiereguiluz opened this issue Jun 25, 2020 · 4 comments · Fixed by #37422
Closed

Consider using another source for MIME types #37412

javiereguiluz opened this issue Jun 25, 2020 · 4 comments · Fixed by #37422
Labels
Good first issue Ideal for your first contribution! (some Symfony experience may be required) Mime

Comments

@javiereguiluz
Copy link
Member

Description
PHP is switching from Apache to "MIME-db" because the Apache MIME type list is incomplete and it doesn't update frequently. See php/php-src#5764

The differences are not huge, but for example, .ini, .json5, .jsx, .less, .m4p (<- not a typo) and other extensions are missing in our list but exist in MIME-db; others have different default types (e.g. .gz, .xlf, etc.)

@fabpot
Copy link
Member

fabpot commented Jun 25, 2020

This should indeed be considered for master where we already have a script to update the list (src/Symfony/Component/Mime/Resources/bin/update_mime_types.php). Anyone willing to work on this?

If you want to give it a try, comment here and wait for my green light to start (to avoid duplicate work).

@fabpot fabpot added the Good first issue Ideal for your first contribution! (some Symfony experience may be required) label Jun 25, 2020
@desarrolla2
Copy link
Contributor

I wish I could deal with this

@redjanym
Copy link

I would like to work on it

@fabpot
Copy link
Member

fabpot commented Jun 25, 2020

@desarrolla2 This issue is yours now. Thank you.
@redjanym Sorry, @desarrolla2 was faster. We will have some other ones though. I think I will start advertizing similar issues more in the future to give more opportunities. Anyway, thanks for proposing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good first issue Ideal for your first contribution! (some Symfony experience may be required) Mime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants