Skip to content

Commit

Permalink
fix(offline): Do not apply CMCD query args to offline URIs (shaka-pro…
Browse files Browse the repository at this point in the history
  • Loading branch information
Álvaro Velad Galván committed Oct 26, 2021
1 parent dd3748d commit 173ae42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/util/cmcd_manager.js
Expand Up @@ -531,6 +531,10 @@ shaka.util.CmcdManager = class {
return uri;
}

if (uri.includes('offline:')) {
return uri;
}

const separator = uri.includes('?') ? '&' : '?';
return `${uri}${separator}${query}`;
}
Expand Down

0 comments on commit 173ae42

Please sign in to comment.