From cacfe20b80eecdb0b995743bf57b101459b2f61c Mon Sep 17 00:00:00 2001 From: Stanislaw Adaszewski Date: Thu, 6 Feb 2020 08:03:39 +0100 Subject: [PATCH] Fix for colon parsing in manifests. --- frontend/src/js/misc/wb-collection-manifest.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/js/misc/wb-collection-manifest.js b/frontend/src/js/misc/wb-collection-manifest.js index 68fb05e..1f455ad 100644 --- a/frontend/src/js/misc/wb-collection-manifest.js +++ b/frontend/src/js/misc/wb-collection-manifest.js @@ -105,7 +105,8 @@ class WBManifestReader { let fileTokens = tokens.slice(n); fileTokens.map(t => { - let [ position, size, fileName ] = t.split(':'); + let [ position, size, ...fileName ] = t.split(':'); + fileName = fileName.join(':'); fileName = this.unescapeName(fileName); this.appendFile(streamName, locators, Number(position), Number(size), fileName);