Commit 69c7cb09 by Oliver Woodman

Correctly handle redirection when requesting manifests.

parent 8c980c88
...@@ -293,7 +293,7 @@ public class ManifestFetcher<T> implements Loader.Callback { ...@@ -293,7 +293,7 @@ public class ManifestFetcher<T> implements Loader.Callback {
inputStream = connection.getInputStream(); inputStream = connection.getInputStream();
inputEncoding = connection.getContentEncoding(); inputEncoding = connection.getContentEncoding();
result = parser.parse(inputStream, inputEncoding, contentId, result = parser.parse(inputStream, inputEncoding, contentId,
Util.parseBaseUri(manifestUrl)); Util.parseBaseUri(connection.getURL().toString()));
} finally { } finally {
if (inputStream != null) { if (inputStream != null) {
inputStream.close(); inputStream.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment