IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Browse Source

Fix for colon parsing in manifests.

pull/1/head
parent
commit
cacfe20b80
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      frontend/src/js/misc/wb-collection-manifest.js

+ 2
- 1
frontend/src/js/misc/wb-collection-manifest.js View File

@@ -105,7 +105,8 @@ class WBManifestReader {
let fileTokens = tokens.slice(n); let fileTokens = tokens.slice(n);
fileTokens.map(t => { fileTokens.map(t => {
let [ position, size, fileName ] = t.split(':');
let [ position, size, ...fileName ] = t.split(':');
fileName = fileName.join(':');
fileName = this.unescapeName(fileName); fileName = this.unescapeName(fileName);
this.appendFile(streamName, locators, this.appendFile(streamName, locators,
Number(position), Number(size), fileName); Number(position), Number(size), fileName);


Loading…
Cancel
Save