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

[rackspace|compute_v2] escaping flavor_id and image_id in get operations.

This commit is contained in:
Kyle Rames 2014-06-23 14:08:49 -05:00
parent 46b94639e2
commit 6ac64330d1
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ module Fog
request(
:expects => [200, 203],
:method => 'GET',
:path => "flavors/#{flavor_id}"
:path => "flavors/#{Fog::Rackspace.escape(flavor_id)}"
)
end
end

View file

@ -27,7 +27,7 @@ module Fog
request(
:expects => [200, 203],
:method => 'GET',
:path => "images/#{image_id}"
:path => "images/#{Fog::Rackspace.escape(image_id)}"
)
end
end