【问题标题】:How to mark _csrf cookie as secured for gitea?如何将 _csrf cookie 标记为对 gitea 安全?
【发布时间】:2018-09-08 07:22:38
【问题描述】:

如何将 _csrf cookie 标记为对 gitea 安全?

我能够使用 COOKIE_SECURE 选项将“i_like_gitea”cookie 标记为安全, 但我无法将“_csrf”cookie 标记为安全

【问题讨论】:

    标签: csrf csrf-protection gitea


    【解决方案1】:

    我还没查过

    但它应该由 PR https://github.com/go-gitea/gitea/pull/3833 修复

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-11-05
      • 2017-04-15
      • 2012-08-24
      • 2013-01-27
      • 2012-07-30
      • 2020-09-01
      • 2022-01-07
      • 2021-10-25
      相关资源
      最近更新 更多