Skip to content

Commit

Permalink
Fix warnings raised by URI 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Nov 8, 2024
1 parent 3c4034b commit c746723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/VMwareWebService/MiqVimDataStore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c746723

Please sign in to comment.