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:
parent
46b94639e2
commit
6ac64330d1
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue