Skip to content

Language cookie should respect SESSION_COOKIE_SECURE value #19195

Closed
@jeremystretch

Description

@jeremystretch

Deployment Type

Self-hosted

NetBox Version

v4.2.7

Python Version

3.10

Steps to Reproduce

N/A

Expected Behavior

When a cookie is set (here, for instance) indicating the user's preferred language, it should be marked as "secure" if SESSION_COOKIE_SECURE is True (the same as the session cookie).

Observed Behavior

The language cookie is always set with secure=False (the default).

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions