basho/riak-ruby-client — pull request #129 by galfert (2013-11-06 20:24:06+00:00)
Title: Escape square brackets when using URI as escaper (closes #128)

Here are some RSpec examples that demostrate the error described in #128 and my proposed fix.

Although I have to say that I find it rather odd that `URI.escape` doesn't escape those characters that `URI.parse` would choke on.