Pike v8.0 release 1738

Method Sql.censor_sql_url()


Method censor_sql_url

string censor_sql_url(string sql_url)

Description

Redact the password (if any) from an Sql-url.

Parameter sql_url

Sql-url possibly containing an unredacted password.

Returns

Returns the same Sql-url but with the password (if any) replaced by the string "CENSORED".