Skip to content

Commit d9b4b02

Browse files
committed
Fix warnings raised by URI 1.0.1
Related to: https://www.github.com/ruby/uri/issues/125 ManageIQ/manageiq#23260
1 parent 3c4034b commit d9b4b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/VMwareWebService/MiqVimDataStore.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,6 @@ def encode_datastore_url(file_path, ds_name)
317317
end
318318

319319
def encode_path_url(path)
320-
URI::DEFAULT_PARSER.escape(path, /[^#{URI::PATTERN::UNRESERVED}]/o)
320+
URI::RFC2396_Parser.escape(path, /[^#{URI::RFC2396_Parser::PATTERN::UNRESERVED}]/o)
321321
end
322322
end # module MiqVimDataStore

0 commit comments

Comments
 (0)