[rabbitmq-discuss] Default vhost and Http API

stone zmstone at gmail.com
Tue Mar 27 17:50:12 BST 2012

Hi Simon

Speaking of escaped characters:
The other day, we accidentally created queues and bindings with UTF
characters in the names.
Then the management web GUI crashed (on mochiweb level if i remember
correctly), so we couldn't delete the queu on GUI.
And there was no CLI to do it, we actually had to reset the node to get rid
of the bad-naming queues.


在 2012年3月27日 下午12:02,Simon MacMullen <simon at rabbitmq.com>写道:

> On 27/03/12 01:12, Félix wrote:
>> Due to the default vhost's name is "/" i'm having troubles with some
>> tools, for example SoapUI, because they're always making the request
>> like "api/queues///queue_name/**contents/", this also happens with the
>> chrome's bookmarks  (https://gist.github.com/**2172067<https://gist.github.com/2172067>
>> )
> The vhost name should be URL escaped - so "/" becomes "%2f".
>  So I'm wondering if something can be done, for instance:
>>  - Change the name, root or default isntead of /
> It's a slightly unfortunate name. But there's nothing to stop people from
> creating other vhosts with names containing "/" or "?". Or "ß" or " 塊" or
> lots of other characters that would need escaping. And it's not just vhosts
> either, queues and exchanges and users and bindings all have names (ish in
> the case of bindings).
> Bottom line is, we'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 ;-)
>   - If there isn't a vhost in the url then use the default. (this can
>> complicate a lot the url mapper)
> I think this would ultimately be more confusing.
> Cheers, Simon
> --
> Simon MacMullen
> RabbitMQ, VMware
> ______________________________**_________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120327/49fb59da/attachment.htm>

More information about the rabbitmq-discuss mailing list