Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Mime] Update mime types#60438

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Bradez wants to merge1 commit intosymfony:7.4
base:7.4
Choose a base branch
Loading
fromBradez:7.3
Open

[Mime] Update mime types#60438

Bradez wants to merge1 commit intosymfony:7.4fromBradez:7.3

Conversation

Bradez
Copy link

QA
Branch?7.3
Bug fix?no
New feature?no
Deprecations?no
IssuesFix
LicenseMIT

Executedupdate_mime_types.php to add support for the latest registered mime types, specifically recognisingvideo/matroska andaudio/matroska for.mkv,.mks,.mka and.mk3d as perRFC9559.

Unfortunately, the database doesn't contain the extensions for the two Matroska mime types (audio/matroska andvideo/matroska) and therefore I've gone ahead and registered those within theupdate_mime_types.php file:

+    'mk3d' => ['video/matroska'],+    'mka' => ['audio/matroska'],+    'mks' => ['video/matroska'],+    'mkv' => ['video/matroska'],

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has acontribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (seehttps://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (seehttps://symfony.com/releases)
  • Features and deprecations must be submitted against the 7.3 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@stof
Copy link
Member

Have you submitted a PR to the upstream database to add it in there ? It is the proper way to get updates in this list (we don't want to have to maintain the full list ourselves)

OskarStark and Bradez reacted with thumbs up emoji

@Bradez
Copy link
Author

Have you submitted a PR to the upstream database to add it in there ? It is the proper way to get updates in this list (we don't want to have to maintain the full list ourselves)

I have not, no. Albeit, you are absolutely right and I'll open a PR with the upstream to correct this.

Despite this, IANA assigns onlymkv andmka (omittingmks andmk3d). I'll see if they're happy to also mergemks andmk3d into the main database. Since thex-matroska is deprecated (according to the RFC), there's still a good possibility we'd need to override the priority ensuring theaudio/matroska andvideo/matroska are the preferred types for these particular extensions.

I'll get this submitted, and we can take it from there.

OskarStark reacted with thumbs up emoji

@OskarStark
Copy link
Contributor

@Bradez did you open a PR upstream? If yes, can you please reference it here? Thanks

@Bradez
Copy link
Author

@OskarStarkjshttp/mime-db/pull/373

OskarStark reacted with rocket emoji

@fabpotfabpot modified the milestones:7.3,7.4May 26, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
7.4
Development

Successfully merging this pull request may close these issues.

5 participants
@Bradez@carsonbot@stof@OskarStark@fabpot

[8]ページ先頭

©2009-2025 Movatter.jp