From d9b4b02b0ca9a2df19a08e4f2f07a42bf9da4556 Mon Sep 17 00:00:00 2001 From: Joe Rafaniello Date: Fri, 8 Nov 2024 12:36:21 -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 --- lib/VMwareWebService/MiqVimDataStore.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMwareWebService/MiqVimDataStore.rb b/lib/VMwareWebService/MiqVimDataStore.rb index 63e3868..fa98f0d 100644 --- a/lib/VMwareWebService/MiqVimDataStore.rb +++ b/lib/VMwareWebService/MiqVimDataStore.rb @@ -317,6 +317,6 @@ def encode_datastore_url(file_path, ds_name) end def encode_path_url(path) - URI::DEFAULT_PARSER.escape(path, /[^#{URI::PATTERN::UNRESERVED}]/o) + URI::RFC2396_Parser.escape(path, /[^#{URI::RFC2396_Parser::PATTERN::UNRESERVED}]/o) end end # module MiqVimDataStore