Describe the bug
If REDIS_URI isn't set, the client builds a Redis URL by string interpolating the env vars. If REDIS_PASSWORD has a # in it, new URL() blows up with TypeError: Invalid URL, and the relay won't start.
To Reproduce
- Set
REDIS_PASSWORD=p#ssword. Leave REDIS_URI unset
- Start nostream
TypeError: Invalid URL
Expected behavior
Relay starts fine regardless of what's in the password.
Screenshots
N/A
System (please complete the following information):
- OS: Any
- Platform: docker / standalone
- Version: latest
Logs
TypeError: Invalid URL
at new URL (node:internal/url:826:25)
Additional context
@ and : work fine. Node's URL parser handles those. # is the problem since it signals a fragment.
Describe the bug
If
REDIS_URIisn't set, the client builds a Redis URL by string interpolating the env vars. IfREDIS_PASSWORDhas a#in it, newURL()blows up withTypeError: Invalid URL, and the relay won't start.To Reproduce
REDIS_PASSWORD=p#ssword. LeaveREDIS_URIunsetTypeError: Invalid URLExpected behavior
Relay starts fine regardless of what's in the password.
Screenshots
N/A
System (please complete the following information):
Logs
TypeError: Invalid URL
at new URL (node:internal/url:826:25)
Additional context
@ and : work fine. Node's URL parser handles those. # is the problem since it signals a fragment.