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

Made manifest unescapeName take care of all \NNN codes.

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

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

@@ -142,7 +142,7 @@ class WBManifestReader {
}
unescapeName(name) {
return name.replace(/(\\\\|\\040)/g, (_, $1) => ($1 === '\\\\' ? '\\' : ' '));
return name.replace(/(\\\\|\\[0-9]{3})/g, (_, $1) => ($1 === '\\\\' ? '\\' : String.fromCharCode(parseInt($1.substr(1), 8))));
}
escapeName(name) {


Loading…
Cancel
Save