Improve coexistence with other django-apps on the same host by setting *_COOKIE_PATH #10639
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
NetBox version
v3.2.4
Feature type
New functionality
Proposed functionality
While netbox provides one configuration option to specify a different
BASE_PATH
, It does not set theCSRF_COOKIE_PATH
,LANGUAGE_COOKIE_PATH
orSESSION_COOKIE_PATH
. All Values could be set directly toBASE_PATH or "/"
, asBASE_PATH
already contains a trailing slash or empty string.Use case
Improve coexistence with other Django-based-projects hosted on the same host. While this can (and probably should) also be achieved by using different cookie-names, setting the path of these cookies probably decreases confusion.
Database changes
None
External dependencies
None
The text was updated successfully, but these errors were encountered: