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