mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 04:05:57 +03:00
[GH-ISSUE #539] [FEATURE] Considering to use much secure session cookie. #348
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#348
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 @nakoo on GitHub (Nov 19, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/539
Describe the feature you'd like to see added
Whoogle should only use session cookie when HTTPS is enforced so that we can improve the security by adding
__host(OR__secure) prefix andSecureflag. Current set-cookie header is not secure option.https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie
(screenshots from Mozilla Observatory)
Additional context
Since Whoogle now use much better implemetation of disabled cookie situation (#480), now we can enforce HTTPS to use session cookie. I think it's good time to do so.
@benbusby commented on GitHub (Nov 20, 2021):
Added -- these values are only set when the
HTTPS_ONLYvar is set though. Otherwise instances running in local networks w/o SSL wouldn't be able to use sessions anymore.Thanks for the suggestion!