Skip to content

Commit

Permalink
Fix deprecated and now removed URI.decode (ruby 3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Sep 7, 2022
1 parent 760323d commit 7fb79d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def vms
:uid_ems => vm.id,
:connection_state => "connected",
:vendor => "redhat",
:name => URI.decode(vm.name),
:name => URI::DEFAULT_PARSER.unescape(vm.name),
:location => "#{vm.id}.ovf",
:template => template,
:memory_limit => extract_vm_memory_policy(vm, :max),
Expand Down

0 comments on commit 7fb79d1

Please sign in to comment.