diff --git a/src/dash.js b/src/dash.js
index 26b8650d..d04864ca 100644
--- a/src/dash.js
+++ b/src/dash.js
@@ -155,17 +155,19 @@ function _getStreamRepresentation(stream)
repArr.push(` `);
}
- const encodedURL = Misc.encodeHTML(stream.url);
+ const modURL = stream.url
+ .replace('?', '/')
+ .replace(/&/g, '/')
+ .replace(/=/g, '/');
+
const segRange = `${stream.indexRange.start}-${stream.indexRange.end}`;
const initRange = `${stream.initRange.start}-${stream.initRange.end}`;
repArr.push(
- ` ${encodedURL}`,
- ``,
` `,
);