traceless / alist-encrypt

这个项目主要是对 alist 的服务进行代理,提供 webdav 的加解密功能。支持 alist 网页在线播放加密的视频,查看加密的图片等功能,同时在 webdav 下的操作透明,自动实现文件资源的加解密。
1.22k stars 112 forks source link

decodeName can return unreadable chars #24

Open SeanHeuc opened 1 year ago

SeanHeuc commented 1 year ago

decodeName in ommonUtils.js is not working properly.

e.g file name=IMG3191.heic due to the "", it will goto decodeFolderName, then call decodeName. i tested 10000+ files, few files have issue in that function, below is one example of returned { folderEncType, folderPasswd }: { folderEncType: '', folderPasswd: 'J�\x00�w' }

traceless commented 1 year ago

Thanks, I'll go back and find out the specific reason ,and then fix it later.