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!
Explorar el Código

Made manifest unescapeName take care of all \NNN codes.

pull/1/head
Stanislaw Adaszewski hace 4 años
padre
commit
9a712cbb95
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      frontend/src/js/misc/wb-collection-manifest.js

+ 1
- 1
frontend/src/js/misc/wb-collection-manifest.js Ver fichero

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


Cargando…
Cancelar
Guardar