Skip to content

Pattern for application/vnd.ms-fontobject prone to false-positives #203

@silverwind

Description

@silverwind

What is the issue with the MIME Sniffing Standard?

https://mimesniff.spec.whatwg.org/#matching-a-font-type-pattern specifies that application/vnd.ms-fontobject is detectable like this:

34 bytes followed by the string "LP", the Embedded OpenType signature.

This is very prune to false-positives. If possible, define a more precise pattern or remove this inprecise pattern from the standard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs concrete proposalMoving the issue forward requires someone to figure out a detailed planneeds testsMoving the issue forward requires someone to write teststopic: mime type sniffing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions