session-cookie without secure flag set解决方案
·
扫出一个session-cookie without secure flag set这个漏洞,在web.xml里加
<cookie-config>
<http-only>true</http-only>
<secure>true</secure>
</cookie-config>这个配置;
但是我加了之后,原来存在cookie里的东西就读取不了,导致登录失败;js不能操作cookie了
转载于:https://blog.51cto.com/xuliangjun/1711283
更多推荐



所有评论(0)