Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: 搜索异常时导致页面渲染异常, 搜索框 XSS 漏洞 #158

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

Merged
merged 1 commit into from
Feb 20, 2021

Conversation

RifeWang
Copy link
Contributor

修复了以下两个问题:

  • 当搜索请求异常时,data["pageHtml"] 无数据会导致 html.Render 异常,从而显示空白页面。
  • 搜索框此处未对 XSS 漏洞进行处理, 点击查看 XSS 漏洞

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.

2 participants