返回 Bug 清单
BUG-0619project-12中已修复backend-auth
Header JSON.parse user cookie + UC_INTERNAL_ORIGIN for container->UC HTTP
发现:2026-10-09验证:2026-10-27置信度:70%
症状
commit 298bce759dc1 (2026-09-16) fix(oauth): Header JSON.parse user cookie + UC_INTERNAL_ORIGIN for container->UC HTTP
根因
commit message 描述: fix(oauth): Header JSON.parse user cookie + UC_INTERNAL_ORIGIN for container->UC HTTP
修复方案
修复 2 行,删除 1 行。改动文件: frontend/src/components/Header.tsx
错误签名
fix(oauth): Header JSON.parse user cookie + UC_INTERNAL_ORIGIN for container->UC HTTP - Header.tsx: decodeURIComponent + JSON.parse dbug_user cookie (was missing JSON.parse)
- config.py: add UC_INTERNAL_ORIGIN for backend container direct UC access
- oauth.py: exchange() prefer UC_INTERNAL_ORIGIN (internal HTTP) over UC_ORIGIN (public HTTPS)
- deploy: UFW allow 3010/tcp from 172.21.0.0/16 (Docker subnet to host UC pm2)技术信息
来源项目
project-12
涉及文件
frontend/src/components/Header.tsx
标签
git-sweep, auto-ingested, project-12, mcp-reported, source-agent