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!
Quellcode durchsuchen

Made manifest unescapeName take care of all \NNN codes.

master
Stanislaw Adaszewski vor 4 Jahren
Ursprung
Commit
9a712cbb95
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      frontend/src/js/misc/wb-collection-manifest.js

+ 1
- 1
frontend/src/js/misc/wb-collection-manifest.js Datei anzeigen

@@ -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) {


Laden…
Abbrechen
Speichern