How to prevent XSS while creating a redirect path using [removed].replace()?

前端 未结 0 1016
情书的邮戳
情书的邮戳 2021-01-03 14:00

I have used window.location.replace() for redirection based on user\'s input. From a security review, this has been flagged as vulnerable to DOM based XSS. I am a newbie and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题