title: Passing URI to RabbitMQ
body: <p>I am connecting to RabbitMQ using below code</p>
  
  <pre><code>factory.UserName = "userid";
  factory.Password = "mypass@25";
  factory.VirtualHost = "/filestream";
  factory.Port = AmqpTcpEndpoint.UseDefaultPort;
  factory.HostName = "myrabbitserver";
  return factory.CreateConnection();
  </code></pre>
  
  <p>I wanted to change connection settings to the below format:</p>
  
  <pre><code>amqp://userid:mypass@25@myrabbitserver:5672/filestream
  </code></pre>
  
  <p>My password has <code>@</code> character due to which I'm not able to pass URI </p>
  
  <pre><code>var factory = new ConnectionFactory();
  factory.Uri = "amqp://userid:mypass@25@myrabbitserver:5672/filestream";
  </code></pre>
  
  <p>I end up supplying each attribute of factory manually.  Is there a way that we can tell RabbitMQ that my password has @ by doing something like below?</p>
  
  <pre><code>factory.Uri = "amqp://userid:"mypass@25"@myrabbitserver:5672/filestream";
  </code></pre>
  
  <p>If I try to change <code>@</code> in the password to <code>%40</code>, it throws an error when acquiring the connection</p>
  
  <pre><code>None of the specified endpoints were reachable
  </code></pre>