Skip to content

Commit 9c4bd7f

Browse files
committed
Block manifest-based media and WebVTT
These MIME types cannot be fetched without CORS. Closes #20 and closes #23. Follow-up: whatwg/html#6468.
1 parent 282c8ff commit 9c4bd7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ An **opaque-blocklisted MIME type** is an [HTML MIME type](https://mimesniff.spe
1616

1717
An **opaque-blocklisted-never-sniffed MIME type** is a MIME type whose essence is one of
1818

19+
* "`application/dash+xml`"
1920
* "`application/gzip`"
2021
* "`application/msexcel`"
2122
* "`application/mspowerpoint`"
2223
* "`application/msword`"
2324
* "`application/msword-template`"
2425
* "`application/pdf`"
26+
* "`application/vnd.apple.mpegurl`"
2527
* "`application/vnd.ces-quickpoint`"
2628
* "`application/vnd.ces-quicksheet`"
2729
* "`application/vnd.ces-quickword`"
@@ -47,10 +49,12 @@ An **opaque-blocklisted-never-sniffed MIME type** is a MIME type whose essence i
4749
* "`application/x-protobuf`"
4850
* "`application/x-protobuffer`"
4951
* "`application/zip`"
52+
* "`audio/mpegurl`"
5053
* "`multipart/byteranges`"
5154
* "`multipart/signed`"
5255
* "`text/event-stream`"
5356
* "`text/csv`"
57+
* "`text/vtt`"
5458

5559
A user agent has an **opaque-safelisted requesters set**. (This should be scoped similar to other network caches.)
5660

0 commit comments

Comments
 (0)