Skip to content

Font Library: .otf font files are rejected. #54759

@matiasbenedetto

Description

@matiasbenedetto

After the latest mime type checks implemented, the .otf files are rejected by the server.

Testing

In this screencast, I'm running:

  • WordPress 6.3
  • Gutenberg trunk
  • PHP Version 8.1.23
  • Apache 2
  • Ubuntu 22.04
  • Firefox browser

Result:
❎ .otf files no uploading.

The rest of the file types work OK.
✅ .ttf files
✅ .woff files
✅ .woff2 files

In this zip file you can find 5 different font files with otf file extension:
otf fonts.zip

Screencast of the test

2023-09-23.14-46-59.mp4

Metadata

Metadata

Assignees

Labels

[Feature] TypographyFont and typography-related issues and PRs[Type] BugAn existing feature does not function as intended

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions