Skip to content

Some context-specific sniffing algorithms don't check if supplied MIME type is undefined #181

Open
@kemzeb

Description

@kemzeb

What is the issue with the MIME Sniffing Standard?

Not sure if I overlooked something, but it appears that the sniffing in an image context, audio or video context, and font context algorithms don't handle the case where the supplied MIME type may be undefined due to the fact that the supplied MIME type detection algorithm can either return a MIME type or an undefined value.

The other context-specific sniffing algorithms that would set the computed MIME type to be the supplied MIME type do have a check for this unlike the ones mentioned above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions