Closed joe-bowman closed 4 years ago
If forwarding queries on to a server requiring authentication, if URL is of the form http://username:password@localhost:8123, these credentials are disclosed in the log file by https://github.com/nikepan/clickhouse-bulk/blob/4f084dd00b9c39e21a32cffedfc54d314bb46f18/clickhouse.go#L182
We should redact the password portion of this string before echoing it.
oh. thanks. I'll fix it tomorrow
fixed https://github.com/nikepan/clickhouse-bulk/releases/tag/v1.2.2 - log only server url
If forwarding queries on to a server requiring authentication, if URL is of the form http://username:password@localhost:8123, these credentials are disclosed in the log file by https://github.com/nikepan/clickhouse-bulk/blob/4f084dd00b9c39e21a32cffedfc54d314bb46f18/clickhouse.go#L182
We should redact the password portion of this string before echoing it.