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 2da6fd7
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 2da6fd7

Please sign in to comment.