We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd26ede commit 75dc400Copy full SHA for 75dc400
app/lib/foreman/http_proxy.rb
@@ -51,7 +51,11 @@ def foreman_logger
51
end
52
53
def log_proxied_request(lib, current_proxy, requested_host)
54
- foreman_logger.info "(#{lib}) Proxying request to #{requested_host} via #{current_proxy}"
+ foreman_logger.info do
55
+ parsed_url = URI(current_proxy)
56
+ parsed_url.password = '****' if parsed_url.password.present?
57
+ "(#{lib}) Proxying request to #{requested_host} via #{parsed_url}"
58
+ end
59
60
61
def http_host_excepted_by_wildcard?(host)
0 commit comments