From 5694c6cefa26e0879d3b25d8620ed075d5ab181a Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 13 Nov 2018 12:03:51 +0100 Subject: [PATCH] Remove unknown/unknown and application/unknown Firefox has had no need for these. It seems less weird behavior is better. See #30 for context. --- mimesniff.bs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mimesniff.bs b/mimesniff.bs index 5c773c9..425335c 100644 --- a/mimesniff.bs +++ b/mimesniff.bs @@ -1822,8 +1822,7 @@ algorithm:
  • If the supplied MIME type is undefined or if the supplied MIME type's essence is - "unknown/unknown", - "application/unknown", or "*/*", + "*/*", execute the rules for identifying an unknown MIME type with the sniff-scriptable flag equal to the inverse of the no-sniff flag and abort these steps.