Skip to content

fix: 修复加密备份上传后文件名丢失.enc 标识的问题#27

Merged
JoyinJoester merged 2 commits intoJoyinJoester:mainfrom
qisumi:main
Mar 13, 2026
Merged

fix: 修复加密备份上传后文件名丢失.enc 标识的问题#27
JoyinJoester merged 2 commits intoJoyinJoester:mainfrom
qisumi:main

Conversation

@qisumi
Copy link
Contributor

@qisumi qisumi commented Mar 13, 2026

问题:移动端生成备份文件时,加密文件带有.enc.zip后缀,但上传webdav时会用不带.enc的文件名覆盖上传。

修改:修改 WebDavHelper.kt 的 uploadBackup 方法,根据源文件名判断是否加密,保留.enc.zip 后缀。

qisumi added 2 commits March 13, 2026 15:46
- 修改 WebDavHelper.kt 的 uploadBackup 方法
- 根据源文件名判断是否加密,保留.enc.zip 后缀
- 确保浏览器端能正确识别加密备份文件

修复问题:移动端加密备份上传到 WebDAV 后,文件名从.enc.zip 变为.zip
导致浏览器端无法通过文件名识别加密状态
fix: 修复加密备份上传后文件名丢失.enc 标识的问题
Copilot AI review requested due to automatic review settings March 13, 2026 07:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@JoyinJoester JoyinJoester merged commit cf3e6d1 into JoyinJoester:main Mar 13, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants