+
+ /* Avoid potentially exposing a password */
+
+ if ( ( Ustrstr(expand_string_message, "failed to expand") != NULL
+ || Ustrstr(expand_string_message, "expansion of ") != NULL
+ )
+ && ( Ustrstr(expand_string_message, "mysql") != NULL
+ || Ustrstr(expand_string_message, "pgsql") != NULL
+ || Ustrstr(expand_string_message, "redis") != NULL
+ || Ustrstr(expand_string_message, "sqlite") != NULL
+ || Ustrstr(expand_string_message, "ldap:") != NULL
+ || Ustrstr(expand_string_message, "ldaps:") != NULL
+ || Ustrstr(expand_string_message, "ldapi:") != NULL
+ || Ustrstr(expand_string_message, "ldapdn:") != NULL
+ || Ustrstr(expand_string_message, "ldapm:") != NULL
+ ) )
+ expand_string_message = US"Temporary internal error";
+