[PR #3284] [MERGED] Fixes Cacheops with a password protected redis #12536

Closed
opened 2025-12-29 22:22:08 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3284
Author: @cimnine
Created: 6/21/2019
Status: Merged
Merged: 6/21/2019
Merged by: @lampwins

Base: developHead: fix_pwd_protected_redis_cache


📝 Commits (1)

  • 94ca3ab Fixes Cacheops with a password protected redis

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 netbox/netbox/settings.py (+1 -1)

📄 Description

Fixes: #3285

As per the README.rst of django-cacheops, if a password is added to the connection string, it must be in the form redis://:password@host:port/db.
Notice the colon, which was missing from the implementation in settings.py.

Fixes https://github.com/digitalocean/netbox/issues/3285


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/3284 **Author:** [@cimnine](https://github.com/cimnine) **Created:** 6/21/2019 **Status:** ✅ Merged **Merged:** 6/21/2019 **Merged by:** [@lampwins](https://github.com/lampwins) **Base:** `develop` ← **Head:** `fix_pwd_protected_redis_cache` --- ### 📝 Commits (1) - [`94ca3ab`](https://github.com/netbox-community/netbox/commit/94ca3abefc682c74be26b51404ee9061bea61dd0) Fixes Cacheops with a password protected redis ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/settings.py` (+1 -1) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #3285 As per the [`README.rst`][1] of `django-cacheops`, if a password is added to the connection string, it must be in the form `redis://:password@host:port/db`. Notice the colon, which was missing from the implementation in [`settings.py`][2]. [1]: https://github.com/Suor/django-cacheops/blob/8ad970d55a3782fbaa027332dcc4ae1ee8c41437/README.rst [2]: https://github.com/digitalocean/netbox/blob/86d5b48007a514e0c7968c9711fed5ede0a78f6c/netbox/netbox/settings.py#L349 Fixes https://github.com/digitalocean/netbox/issues/3285 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:22:08 +01:00
adam closed this issue 2025-12-29 22:22:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12536