mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[ibm] Fix form_encode to stringify args (e.g. booleans) to URI.escape
This commit is contained in:
parent
70cab59f5f
commit
017795836c
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ module Fog
|
|||
end
|
||||
|
||||
def form_encode(params)
|
||||
params.reject {|k, v| v.nil? }.map {|pair| pair.map {|x| URI.escape(x) }.join('=') }.join('&')
|
||||
params.reject {|k, v| v.nil? }.map {|pair| pair.map {|x| URI.escape(x.to_s) }.join('=') }.join('&')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue