<div>You can see in <a href="https://gist.github.com/2172067">https://gist.github.com/2172067</a> I&#39;m escaping the / but some tools unescape it again, that´s why It&#39;s a pain.</div><div>People can create all those names but I think rabbitmq is promoting that.</div>
<div><br></div><div>IHMO the default vhost shouldn&#39;t be /, I don&#39;t know maybe i&#39;m a little annoying with this :) </div><div><br></div><br><div class="gmail_quote">2012/3/27 Simon MacMullen <span dir="ltr">&lt;<a href="mailto:simon@rabbitmq.com">simon@rabbitmq.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 27/03/12 01:12, Félix wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Due to the default vhost&#39;s name is &quot;/&quot; i&#39;m having troubles with some<br>
tools, for example SoapUI, because they&#39;re always making the request<br>
like &quot;api/queues///queue_name/<u></u>contents/&quot;, this also happens with the<br>
chrome&#39;s bookmarks  (<a href="https://gist.github.com/2172067" target="_blank">https://gist.github.com/<u></u>2172067</a>)<br>
</blockquote>
<br></div>
The vhost name should be URL escaped - so &quot;/&quot; becomes &quot;%2f&quot;.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So I&#39;m wondering if something can be done, for instance:<br>
  - Change the name, root or default isntead of /<br>
</blockquote>
<br>
It&#39;s a slightly unfortunate name. But there&#39;s nothing to stop people from creating other vhosts with names containing &quot;/&quot; or &quot;?&quot;. Or &quot;ß&quot; or &quot; 塊&quot; or lots of other characters that would need escaping. And it&#39;s not just vhosts either, queues and exchanges and users and bindings all have names (ish in the case of bindings).<br>

<br>
Bottom line is, we&#39;ll always need escaping. And at least having the default vhost require it means people need to get this at least partly right in their tools ;-)<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  - If there isn&#39;t a vhost in the url then use the default. (this can<br>
complicate a lot the url mapper)<br>
</blockquote>
<br>
I think this would ultimately be more confusing.<br>
<br>
Cheers, Simon<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="http://www.linkedin.com/in/flopezluis" target="_blank">http://www.linkedin.com/in/flopezluis</a><br><br>It&#39;s easier to ask forgiveness than it is to get permission<br>
<br><br>&quot;.....it doesn&#39;t matter how many times you fail. It doesn&#39;t matter how many times you almost get it right. No one is going to know or care about your failures, and either should you. All you have to do is learn from them and those around you because...All that matters in business is that you get it right once. Then everyone can tell you how lucky you are.&quot;<br>
--Mark Cuban&quot;<br><br>&quot;Always be the worst guy in every band you&#39;re in.&quot; If you&#39;re the best guy there, you need to be in a different band. And I think that works for almost everything that&#39;s out there as well.&quot; Pat Metheny<br>