From 2dd537eb6c11cecb793e04947d76b34cf600a4df Mon Sep 17 00:00:00 2001 From: TerryHowe Date: Wed, 27 May 2015 07:58:35 -0600 Subject: [PATCH] Do not double encode image query Assume at the request level that the query is encoded already. --- lib/fog/openstack/requests/image/list_public_images_detailed.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/openstack/requests/image/list_public_images_detailed.rb b/lib/fog/openstack/requests/image/list_public_images_detailed.rb index 6220a13ac..7a721d546 100644 --- a/lib/fog/openstack/requests/image/list_public_images_detailed.rb +++ b/lib/fog/openstack/requests/image/list_public_images_detailed.rb @@ -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