mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 23:42:07 +01:00
This change replaces the creation of Redis URL, from a simple string interpolation, to using `yarl.URL`. The main benefit, besides not forgetting to set all five different variables on every Redis client initialization, is that user credentials are correctly URL-encoded, if present. Up until now, if a password had special characters, it could break the generated URL. This change also introduces support for a `REDIS_SSL` setting, which allows the user to specify if the Redis connection should use SSL or not.