Repository navigation
修复创空间 iframe 包装导致的旧用户主页跳转失败 - #24
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
线上验收发现创空间会把旧留言的应用内 303 跳转包装进 iframe,而魔搭个人主页禁止嵌入,导致旧用户名虽然能点击,打开后仍被拒绝连接。
旧账号现在先通过 JSON API 解析真实主页,在用户点击时预留的独立窗口中直接打开该地址。留言、账号区域和许愿池共用此逻辑;已保存真实主页的账号继续使用普通外链。
43 项 Python 测试与 Edge/Playwright 回归通过。浏览器检查明确禁止旧主页点击导航到应用中转页,覆盖线上发现的平台包装问题。