[glesys] fix URL encoding of API parameter values
This commit is contained in:
parent
e4547ad987
commit
14b4b7ed10
|
@ -121,7 +121,7 @@ module Fog
|
|||
end
|
||||
|
||||
def urlencode(hash)
|
||||
hash.to_a.map! { |k, v| "#{k}=#{v.to_s}" }.join("&")
|
||||
hash.to_a.map! { |k, v| "#{k}=#{CGI.escape(v.to_s)}" }.join("&")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue