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!
소스 검색

Made manifest unescapeName take care of all \NNN codes.

pull/1/head
부모
커밋
9a712cbb95
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      frontend/src/js/misc/wb-collection-manifest.js

+ 1
- 1
frontend/src/js/misc/wb-collection-manifest.js 파일 보기

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


불러오는 중...
취소
저장