From edab34ecfb344254d507534df7e819cbfef0843b Mon Sep 17 00:00:00 2001 From: Joe Rafaniello Date: Fri, 8 Nov 2024 13:34:05 -0500 Subject: [PATCH] Fix warnings raised by URI 1.0.1 Related to: https://www.github.com/ruby/uri/issues/125 https://github.com/ManageIQ/manageiq/pull/23260 --- .../manageiq/providers/ovirt/inventory/parser/infra_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/manageiq/providers/ovirt/inventory/parser/infra_manager.rb b/app/models/manageiq/providers/ovirt/inventory/parser/infra_manager.rb index 91c6d806..0148f911 100644 --- a/app/models/manageiq/providers/ovirt/inventory/parser/infra_manager.rb +++ b/app/models/manageiq/providers/ovirt/inventory/parser/infra_manager.rb @@ -402,7 +402,7 @@ def vms :ems_ref => ems_ref, :uid_ems => vm.id, :connection_state => "connected", - :name => URI::DEFAULT_PARSER.unescape(vm.name), + :name => URI::RFC2396_PARSER.unescape(vm.name), :location => "#{vm.id}.ovf", :template => template, :memory_limit => extract_vm_memory_policy(vm, :max),