v.22.8Improvement

Properly Escape Credentials in clickhouse-diagnostic Tool

Properly escape credentials passed to the clickhouse-diagnostic tool. #39707 (Dale McDiarmid).
Properly escape credentials passed to the clickhouse-diagnostic tool to ensure secure and correct handling of special characters.

Why it matters

This feature addresses issues where credentials containing special characters were not correctly escaped when passed to the clickhouse-diagnostic tool, which could lead to security risks or operational errors. Proper escaping improves reliability and security when diagnosing ClickHouse instances using credentials.

How to use it

Users can use the clickhouse-diagnostic tool as usual with their credentials. The tool now automatically handles escaping of special characters in credentials, requiring no additional user configuration.