When adding credentials like a password with a forward slash, it either fails to be url encoded (Invalid Url) or when url encoded beforehand (using encodeURIComponent) it returns "host unreachable". The secrets are generated at random and injected so this is quite the problem.
System: macOS 14.4 (Apple M1 Pro)
NodeJS: v20.10.0
foo-foo-mq: ^9.0.1
steps to reproduce
Create a rabbitmq instance (rabbitmq:3-management-alpine) with user dummy and password 54sd/d56: set credentials are valid using amqplib (encoded) or the management frontend.
When adding credentials like a password with a forward slash, it either fails to be url encoded (Invalid Url) or when url encoded beforehand (using encodeURIComponent) it returns "host unreachable". The secrets are generated at random and injected so this is quite the problem.
steps to reproduce
rabbitmq:3-management-alpine
) with userdummy
and password54sd/d56
: set credentials are valid usingamqplib
(encoded) or the management frontend.TypeError: Invalid URL
or 2) LogsNo endpoints could be reached
docker-compose
YAML, remove the slash (/
) and recreate. It will now logpublished
Edit: tried encodeURI jut in case, to no avail.