乐奇 Rokid 开放社区 session-cookie without secure flag set解决方案

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

更多推荐

  • 浏览量 6785
  • 收藏 0
  • 0

所有评论(0)

查看更多评论 
已为社区贡献4条内容