Skip to content

Commit 173ae42

Browse files
author
Álvaro Velad Galván
authored
fix(offline): Do not apply CMCD query args to offline URIs (shaka-project#3716)
Closes shaka-project#3712
1 parent dd3748d commit 173ae42

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/util/cmcd_manager.js

+4
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,10 @@ shaka.util.CmcdManager = class {
531531
return uri;
532532
}
533533

534+
if (uri.includes('offline:')) {
535+
return uri;
536+
}
537+
534538
const separator = uri.includes('?') ? '&' : '?';
535539
return `${uri}${separator}${query}`;
536540
}

0 commit comments

Comments
 (0)