Module: NewRelic::Agent::HTTPClients::URIUtil

Defined in:
lib/new_relic/agent/http_clients/uri_util.rb

Class Method Summary collapse

Class Method Details

.filter_uri(original) ⇒ Object



17
18
19
20
21
22
23
24
# File 'lib/new_relic/agent/http_clients/uri_util.rb', line 17

def self.filter_uri(original)
  filtered = original.dup
  filtered.user = nil
  filtered.password = nil
  filtered.query = nil
  filtered.fragment = nil
  filtered.to_s
end