feat: apply UI/storage/share optimizations and quota improvements

This commit is contained in:
2026-02-12 18:02:57 +08:00
parent 1fcc60b9aa
commit 12859cbb20
13 changed files with 4476 additions and 828 deletions

View File

@@ -225,7 +225,7 @@ async function testPathTraversalAttacks() {
let blocked = 0;
for (const attackPath of attackPaths) {
const res = await request('GET', `/api/share/${shareCode}/download-url?path=${encodeURIComponent(attackPath)}`);
const res = await request('POST', `/api/share/${shareCode}/download-url`, { path: attackPath });
if (res.status === 403 || res.status === 400) {
blocked++;