Closed
Description
- Gitea version: 1.10.2
- Git version: 2.24.0
- Operating system: Linux
- Database:
- MySQL
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
Description
I've configured my Gitea instance with CSRF_COOKIE_HTTP_ONLY
and COOKIE_SECURE
:
; Set false to allow JavaScript to read CSRF cookie
CSRF_COOKIE_HTTP_ONLY = true
; If you use session in https only, default is false
COOKIE_SECURE = true
which works fine, except for the lang cookie that doesn't seem to respect that setting:
resulting in a security scanner complaining about the cookie missing the secure
and httpOnly
attributes.