a2ae74d582
- Backend: auth refresh reuse, schedule/retry/sync/agent/files fixes - Frontend: push WS, files ETag browse, vite build assets - Docs: audit/changelog, production deploy gate, bug scan registry B7-77 - Deploy: deploy-production.sh, prune assets, gate logs
713 B
713 B
2026-06-04 — 文件列表 ls 时区字段解析修复
摘要
修复 GNU ls -la 在 long-iso 输出中带 +0800 时区时,文件名被误解析为 +0800 的 bug。
动机
Ubuntu 默认 ls 常输出 2026-06-01 12:00:00 +0800 filename,原逻辑将 parts[7] 当作文件名,文件管理页缺文件或显示异常。
涉及文件
server/utils/unix_ls.pytests/test_file_permissions.py(原有用例现已通过)tests/test_security_unit.py、tests/test_step0_infrastructure.py(中间件测试对齐纯 ASGI)
验证
pytest tests/test_file_permissions.py -q
pytest tests/ -q # 135 passed, 1 skipped 级(CDN 预览 HTML 见审计报告)