fix(backup): allow all paths when the allowed path is the root directory in ValidatePathAccess function #1380

This commit is contained in:
0xJacky
2025-10-08 10:15:34 +08:00
parent 159c9d27ed
commit 2457658297
10 changed files with 1109 additions and 2169 deletions
+2 -6
View File
@@ -56,23 +56,19 @@ jobs:
corepack enable
corepack prepare pnpm@latest --activate
pnpm install
working-directory: app
- name: Check frontend code style
run: |
pnpm run lint
working-directory: app
pnpm lint
- name: Check frontend types
run: |
pnpm run typecheck
working-directory: app
pnpm typecheck
- name: Build
run: |
npx update-browserslist-db@latest
pnpm build
working-directory: app
- name: Compress frontend with xz
run: |