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 edcb0e15f2
commit 8106abb9dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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: