mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Removed CGI escape calls from requests/aws/create_security_group.rb
This commit is contained in:
parent
6941fc6dfe
commit
d62279b7b5
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ module Fog
|
|||
request(
|
||||
'Action' => 'CreateSecurityGroup',
|
||||
'GroupName' => name,
|
||||
'GroupDescription' => CGI.escape(description),
|
||||
'GroupDescription' => description,
|
||||
:parser => Fog::Parsers::AWS::Compute::Basic.new
|
||||
)
|
||||
end
|
||||
|
@ -33,8 +33,8 @@ module Fog
|
|||
response = Excon::Response.new
|
||||
unless @data[:security_groups][name]
|
||||
data = {
|
||||
'groupDescription' => CGI.escape(description).gsub('%20', '+'),
|
||||
'groupName' => CGI.escape(name).gsub('%20', '+'),
|
||||
'groupDescription' => description,
|
||||
'groupName' => name,
|
||||
'ipPermissions' => [],
|
||||
'ownerId' => @owner_id
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue