抵御即跨站脚本(XSS)攻击 返回400
来源:2-10 测试跨站脚本攻击

ingdee
2021-01-08
sayHello()的name参数要是用@PathVariable接收就会报这个错误
<!doctype html>
HTTP Status 400 – Bad RequestHTTP Status 400 – Bad Request
Type Status Report
Message Invalid URI: noSlash
Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
Apache Tomcat/9.0.41
写回答
1回答
-
解决方案你可以参考这个帖子,http://www.chaiguanxin.com/articles/2020/03/18/1584495603475.html122021-01-11
相似问题