[OpenSIPS-Devel] [opensips] rabbitmq: username and password may be URI-encoded (#148)

Stéphane Alnet notifications at github.com
Thu Dec 12 00:29:53 CET 2013

I haven't looked at the details in the code of the rabbitmq module yet, but saw in logs that it doesn't appear to deal properly with URI-encoding in usernames (and passwords I assume, but haven't tested).

For example if I use

    rabbitmq:opensips%40example.net:password at amqp.example.net/myvhost/exchange

then the username is sent as `opensips%40example.net` instead of `opensips at example.net` to RabbitMQ. (Obviously authentication fails at that point, since RabbitMQ doesn't have that username.)

Opening this issue at least as a reminder for me to go back and try to improve on this :)

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20131211/2c544bda/attachment.htm>

More information about the Devel mailing list