Skip to content

修复创空间 iframe 包装导致的旧用户主页跳转失败 - #24

Merged
NovaWang97 merged 1 commit into
mainfrom
codex/profile-window-compat
Oct 30, 2026
Merged

NovaWang97 merged 1 commit into
mainfrom
codex/profile-window-compat

Conversation

@NovaWang97

Copy link
Copy Markdown
Collaborator

线上验收发现创空间会把旧留言的应用内 303 跳转包装进 iframe,而魔搭个人主页禁止嵌入,导致旧用户名虽然能点击,打开后仍被拒绝连接。

旧账号现在先通过 JSON API 解析真实主页,在用户点击时预留的独立窗口中直接打开该地址。留言、账号区域和许愿池共用此逻辑;已保存真实主页的账号继续使用普通外链。

43 项 Python 测试与 Edge/Playwright 回归通过。浏览器检查明确禁止旧主页点击导航到应用中转页,覆盖线上发现的平台包装问题。

@NovaWang97
NovaWang97 merged commit c45b2f9 into main Oct 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant