美文网首页
iframe 跨域,cookie问题,重定向302

iframe 跨域,cookie问题,重定向302

作者: _____西班木有蛀牙 | 来源:发表于2020-08-14 13:10 被阅读0次
    // this cookie didnot specify a "SameSite" attribute when it was default to "SameSite=Lax", 
    // and was blocked because the request was made from a different site and was not initiated by a top-level navigation . 
    // the cookie had to hava been set with "SameSite=None" to enable cross-site usage.
    

    Cookie 的 SameSite 属性

    <iframe>

    内容安全策略( CSP )

    image.png image.png

    https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Headers/Set-Cookie/SameSite

    相关文章

      网友评论

          本文标题:iframe 跨域,cookie问题,重定向302

          本文链接:https://www.haomeiwen.com/subject/gvsgdktx.html