mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 00:46:03 +03:00
[GH-ISSUE #3298] CSRF Login Token Cookie should set HTTPOnly Flag #1827
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1827
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rufinus on GitHub (Aug 6, 2024).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3298
Impacted versions
Steps to reproduce
Watch Header on LoginScreen
Current behavior
Set-Cookie:
csrftoken=ZTjoHY2tN34az3p31CeaX49zSTbgZtZ6; expires=Tue, 05 Aug 2025 10:21:00 GMT; Max-Age=31449600; Path=/; SameSite=Lax; Secure
Expected behavior
Set-Cookie:
csrftoken=ZTjoHY2tN34az3p31CeaX49zSTbgZtZ6; expires=Tue, 05 Aug 2025 10:21:00 GMT; Max-Age=31449600; Path=/; SameSite=Lax; HTTPOnly; Secure
@Spitfireap commented on GitHub (Aug 12, 2024):
Hi,
According to django you can set it if you want, but the django team is not convinced that it increases security