atm queue names not encoded at all,
They should be escaped via CGI.escape or ,better, Rack::Utils.escape
Cgi escapes queue names, closes #26
That's not what we want, we want to use either Rack::Utils.escape (which contains backports for up to 1.8).
If we don't care about Ruby versions prior to 1.9.3p125, we can use URI.encode_www_form_component(s).gsub('+', '%20') directly for that path components, and URI.encode_www_form_component(s) for query components.
Otherwise we send spaces as + and that leads to a lot of confusion.
If we don't want to have a dependency on Rack, I can copy the code over, since we probably want 1.8 compatibility still.
Is this still valid? 3 years old :)
fixed eternity ago