Incorrect parsing of headers in MSIE #1172
Labels
flag: good first issue
This might be a relatively easy issue; good for new contributors
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
Hi,
this is probably a bug in IE(?) but we observed the following issue when parsing the Content-Type header in IE which causes shaka to fail when the playlist doesn't have an extension:

It seems some random newlines are inserted to getAllResponseHeaders() in MSIE:
shaka-player/lib/net/http_plugin.js should filter empty lines to parse it correctly, otherwise we end up with shaka.util.Error.Code.UNABLE_TO_GUESS_MANIFEST_TYPE in shaka-player/lib/media/manifest_parser.js
Relevant issue may be:
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/5403401/
IE 11.674 / Win 10 x64
The text was updated successfully, but these errors were encountered: