streadway / amqp

Go client for AMQP 0.9.1
http://godoc.org/github.com/streadway/amqp
BSD 2-Clause "Simplified" License
4.88k stars 621 forks source link

Error because the url contains special characters #541

Open lfxnxf opened 1 year ago

lfxnxf commented 1 year ago

Error because the url contains special characters; For example, amqp://guest:guest#123@localhost:5672/ Call amqp.dial (url), return error :parse "amqp://guest:guest": invalid port ":guest" after host This error is caused by url.Parse.

Add a DailURI method that uses URI connections to pass in connection information without error if special characters are included

michaelklishin commented 1 year ago

Team RabbitMQ no longer pays any attention to this fork. Consider switching to, and submitting your PRs again, https://github.com/rabbitmq/amqp091-go/.