dbconn: allow uuid in requestId by allowing hyphen (#3139)

This commit is contained in:
Ivan FB 2024-10-23 13:15:53 +02:00 committed by GitHub
parent 9d2b931567
commit f11b6c3b94

View File

@ -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: