-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
新的登录/注册页面会经过 TemplateHeadProcessor 处理 #6750
Comments
可以考虑过滤对登录、注册、找回密码、二步验证和登出模板的处理。 |
可以看看能不能专门为这些页面提供接口和代码注入设置项,毕竟这些页面还算比较特殊。 |
这个问题和 #6500 也有点相关。 |
#### What type of PR is this? /kind improvement /area core /milestone 2.20.x #### What this PR does / why we need it: 模板 head 和 footer 标签注入功能忽略错误页面避免当扩展发生错误时导致错误页面无法显示 #### Which issue(s) this PR fixes: Fixes #6500 , #6750 #### Does this PR introduce a user-facing change? ```release-note 代码注入功能忽略对错误页面和登录注册等页面的注入 ```
This issue was fixed by #6709. /close |
@JohnNiang: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
系统信息
使用的哪种方式运行?
Source Code
发生了什么?
观察到目前新提供的登录相关的页面会经过 TemplateHeadProcessor 处理,注入了插件中提供的 head 标签代码,如图:
暂不确定是否会造成一定的隐患。
/area core
/triage needs-information
复现步骤
No response
相关日志输出
No response
附加信息
No response
The text was updated successfully, but these errors were encountered: