diff --git a/waku/common/databases/db_postgres/dbconn.nim b/waku/common/databases/db_postgres/dbconn.nim index 9a53a0d14..243c195c3 100644 --- a/waku/common/databases/db_postgres/dbconn.nim +++ b/waku/common/databases/db_postgres/dbconn.nim @@ -222,7 +222,7 @@ proc containsRiskyPatterns(input: string): bool = proc isSecureString(input: string): bool = ## Returns `false` if the string contains risky characters or patterns, `true` otherwise. - let riskyChars = {'\'', '\"', ';', '-', '#', '\\', '%', '_', '/', '*', '\0'} + let riskyChars = {'\'', '\"', ';', '#', '\\', '%', '_', '/', '*', '\0'} for ch in input: if ch in riskyChars: