1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Do not double encode image query

Assume at the request level that the query is encoded already.
This commit is contained in:
TerryHowe 2015-05-27 07:58:35 -06:00
parent fb1c0f7770
commit 2dd537eb6c

View file

@ -5,7 +5,7 @@ module Fog
def list_public_images_detailed(attribute=nil, query=nil)
path = 'images/detail'
if attribute
query = { attribute => URI::encode(query) }
query = { attribute => query }
else
query = {}
end