-
-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
While connecting with redis server with special character (containing '#' in this case) in password. It throws
"WRONGPASS invalid username-password pair or user is disabled"
REDIS_SERVER="server host info"
from urllib.parse import quote
REDIS_PASSWORD=quote("assdf#sf!ewo")
REDIS_URL = "".join(['rediss://:', REDIS_PASSWORD, '@', REDIS_SERVER, '/1'])
CACHE_CONFIG: CacheConfig ={
'CACHE_TYPE': "redis",
'CACHE_REDIS_URL': REDIS_URL,
'CACHE_KEY_PREFIX': 'cache_prefix_',
'CACHE_THRESHOLD': 100
}
For redis server am using aws elastic cache version 7.1.0
Expected:
It should connect with server even special character in password
Environment:
- Python version: 3.11
- Flask-Caching version: 1.10.1
Metadata
Metadata
Assignees
Labels
No labels