mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #2820: URI encode instead of deleting blanks
This commit is contained in:
parent
b16d5a750d
commit
01a47e9d8c
@ -32,6 +32,7 @@ EC2_DRIVER_DEFAULT = "#{ETC_LOCATION}/ec2_driver.default"
|
||||
require 'yaml'
|
||||
require 'rubygems'
|
||||
require 'aws-sdk'
|
||||
require 'uri'
|
||||
|
||||
$: << RUBY_LIB_LOCATION
|
||||
|
||||
@ -442,8 +443,8 @@ private
|
||||
v.security_group_id if v.is_a?(AWS::EC2::SecurityGroup)
|
||||
}.join(",")
|
||||
end
|
||||
value.delete!(" ")
|
||||
info << "AWS_#{key.to_s.upcase}=#{value} "
|
||||
|
||||
info << "AWS_#{key.to_s.upcase}=#{URI::encode(value)} "
|
||||
end
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user