首页 新闻 赞助 找找看

X-XSS-Protection设置后谷歌浏览器页面报错Error parsing header X-XSS-Protection: X-XSS-Protection: 1; mode=block

0
[待解决问题]

jsp页面里面<% response.addHeader("X-XSS-Protection", "X-XSS-Protection: 1; mode=block"); %>设置了X-XSS-Protection后,IE浏览器访问正常,谷歌浏览器访问报Error parsing header X-XSS-Protection: X-XSS-Protection: 1; mode=block: expected token to be 0 or 1 at character position 0. The default protections will be applied.这样的错要怎么才能解决?谷歌已经是最新版本了

海的心的主页 海的心 | 菜鸟二级 | 园豆:208
提问于:2018-08-16 16:38
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册