问题描述
@Controller
public class RestController {
@GET
public String returnString() {
String str = "hello";
return "hi " + str; //here is the issue
}
Fortify 将字符串连接标记为跨站点脚本反射。如何更改此连接以使其不是跨站点脚本。我尝试使用 String.concat,但还是同样的问题。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)