Align public homepage data checks with Next.js normalization #11
Reference in New Issue
Block a user
Delete Branch "codex/wiki-public-data-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ces-control run483 在 tests/auth.test.ts 对 /_next/data/build/index.json 的旧307预期失败:NextRequest 会将首页数据请求规范化为 /,公开首页后实际为200。
更新单元测试明确允许首页data GET;改用私有 /library/import 的data URL继续验证鉴权。auth-cli端到端检查允许静态首页没有JSON数据路由(404)或返回200,均不得跳转登录,并继续保护私有页面数据。
仅调整两处验证预期,不修改 proxy 权限或页面代码。git diff --check通过;完整构建与验证仅交给ces-control。最新CI待运行,等待用户手动合并,bot不合并。