Page MenuHomePhabricator

File extension ".ttf" does not match the detected MIME type of the file (application/font-sfnt).
Closed, ResolvedPublic

Description

The above error has been reported by Miraheze users consistently recently. We should add application/font-sfnt to the MIME types lists.

I will upload a patch now and backport to all supported releases.

Event Timeline

RhinosF1 created this task.Aug 10 2020, 9:37 AM
Restricted Application added subscribers: Reception123, Aklapper. · View Herald TranscriptAug 10 2020, 9:37 AM

Change 619094 had a related patch set uploaded (by RhinosF1; owner: RhinosF1):
[mediawiki/core@master] Add application/font-sfnt to MimeMap for ttf files

https://gerrit.wikimedia.org/r/619094

Change 619095 had a related patch set uploaded (by RhinosF1; owner: RhinosF1):
[mediawiki/core@REL1_35] Add application/font-sfnt to MimeMap for ttf files

https://gerrit.wikimedia.org/r/619095

Change 619096 had a related patch set uploaded (by RhinosF1; owner: RhinosF1):
[mediawiki/core@REL1_34] Add application/font-sfnt to MimeMap for ttf files

https://gerrit.wikimedia.org/r/619096

Change 619097 had a related patch set uploaded (by RhinosF1; owner: RhinosF1):
[mediawiki/core@REL1_31] Add application/font-sfnt to MimeMap for ttf files

https://gerrit.wikimedia.org/r/619097

RhinosF1 triaged this task as Medium priority.Aug 10 2020, 10:07 AM
Reedy closed this task as Resolved.Aug 21 2020, 12:36 AM
Reedy added a subscriber: Reedy.

Looks like application/font-sfnt can be otf too.. But the list is never going to be complete, and we don't have to add everything

Patches rebased and +2'd

Change 619097 merged by jenkins-bot:
[mediawiki/core@REL1_31] Add application/font-sfnt to MimeMap for ttf files

https://gerrit.wikimedia.org/r/619097

Change 619096 merged by jenkins-bot:
[mediawiki/core@REL1_34] Add application/font-sfnt to MimeMap for ttf files

https://gerrit.wikimedia.org/r/619096

Change 619094 merged by jenkins-bot:
[mediawiki/core@master] Add application/font-sfnt to MimeMap for ttf files

https://gerrit.wikimedia.org/r/619094

Change 619095 merged by jenkins-bot:
[mediawiki/core@REL1_35] Add application/font-sfnt to MimeMap for ttf files

https://gerrit.wikimedia.org/r/619095