fix: reject empty ClickHouse TLS parameters
This commit is contained in:
@@ -77,6 +77,7 @@ func TestClickHouseOptionsRejectsInvalidDSN(t *testing.T) {
|
||||
"clickhouse://localhost:9000/db?secure=true",
|
||||
"clickhouses://localhost:9440/db?secure=false",
|
||||
"clickhouses://localhost:9440/db?skip_verify=maybe",
|
||||
"clickhouses://localhost:9440/db?skip_verify=",
|
||||
"clickhouse://localhost:9000/db?skip_verify=true",
|
||||
"https://localhost:9440/db",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user