Files
Nexus/docs/changelog/2026-06-06-api-audit-b2-sync-files.md
T

18 lines
421 B
Markdown
Raw Normal View History

# 2026-06-06 — API 巡检 B2sync + files)修复
## 摘要
审计 sync_v2 / files / 路径校验模块;为 `SyncFiles``SyncVerify``server_ids` 增加 2000 上限,防止超大列表资源耗尽。
## 涉及文件
- `server/api/schemas.py`
- `tests/test_security_unit.py`
- `docs/reports/2026-06-06-api-audit-b2-sync-files.md`
## 验证
```bash
.venv/bin/pytest tests/test_security_unit.py -q
```