We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b626125 commit 62bf8d7Copy full SHA for 62bf8d7
util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py
@@ -172,7 +172,7 @@ def parse_excluded_urls(excluded_urls: str) -> ExcludeList:
172
173
174
def remove_url_credentials(url: str) -> str:
175
- """Given a string url, replace the username and password with the keyword "REDACTED "only if it is a valid url"""
+ """Given a string url, replace the username and password with the keyword `REDACTED` only if it is a valid url"""
176
try:
177
parsed = urlparse(url)
178
if all([parsed.scheme, parsed.netloc]): # checks for valid url
0 commit comments