Update comment with password redaction

Making it clearer that all parameters are redacted, not just password related ones.
This commit is contained in:
DaveSophoServices 2021-05-11 20:22:56 -05:00 committed by GitHub
parent 12ea5a26d0
commit 7df744bc8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2077,7 +2077,7 @@ sub geturl {
debug("proxy = %s", $proxy // '<undefined>');
debug("protocol = %s", $use_ssl ? "https" : "http");
debug("server = %s", $server);
(my $_url = $url) =~ s%\?.*%?<redacted>%; #redact possible credentials
(my $_url = $url) =~ s%\?.*%?<redacted>%; #redact ALL parameters passed on URL, including possible passwords
debug("url = %s", $_url);
debug("ip ver = %s", $ipversion);