This commit is contained in:
1 parent
62d1244558
commit
d3c8c85c58
1 file changed
+2
-2
+2
-2
@@ -925,8 +925,8 @@ function filterManifests(manifests) {
|
|||||||
}
|
}
|
||||||
const path = urlObj.pathname.toLowerCase();
|
const path = urlObj.pathname.toLowerCase();
|
||||||
// 1) Concrete media/manifest signals win outright: a real file extension or
|
// 1) Concrete media/manifest signals win outright: a real file extension or
|
||||||
// /hls/ path is fetchable, even with a trailing slash (thisvid serves
|
// /hls/ path is fetchable, even with a trailing slash
|
||||||
// .../14644093.mp4/) or a token-bearing query — so check these before the
|
// or a token-bearing query — so check these before the
|
||||||
// template heuristics and never let a coincidental '%'/'/' sink a source.
|
// template heuristics and never let a coincidental '%'/'/' sink a source.
|
||||||
if (path.includes('.m3u8') || path.includes('.hlsvod') || path.includes('/hls/') ||
|
if (path.includes('.m3u8') || path.includes('.hlsvod') || path.includes('/hls/') ||
|
||||||
path.includes('/manifest') || path.includes('.mp4') || path.includes('.webm') ||
|
path.includes('/manifest') || path.includes('.mp4') || path.includes('.webm') ||
|
||||||
|
|||||||
Reference in new issue
Block a user