|
|
|
|
+ Direct access to the in-memory objects provided as `object`, `user`, and `perms` has been deprecated as of NetBox v4.8.0, and is scheduled for removal in NetBox v5.0. The variable names themselves are not deprecated. Custom links that rely on these objects will need to be updated for NetBox v5.0, although many custom links will continue to work as before. `request` and `debug` are not affected.
|
|
|
For security, `request` no longer exposes the full WSGI request object. Only a safe subset of attributes is available: `request.id`, `request.path`, `request.path_info`, `request.method`, `request.GET` (the query parameters), and `request.user` (the username). Sensitive data such as cookies, headers, and session state is no longer accessible from within a custom link template.
|
|
For security, `request` no longer exposes the full WSGI request object. Only a safe subset of attributes is available: `request.id`, `request.path`, `request.path_info`, `request.method`, `request.GET` (the query parameters), and `request.user` (the username). Sensitive data such as cookies, headers, and session state is no longer accessible from within a custom link template.
|