Skip to content

Commit 7c45570

Browse files
authored
Merge branch 'develop' into ai-bot-improvements
2 parents 7d87995 + d5fd17e commit 7c45570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/postgres/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ export function escape<T> (str: T): T {
663663
// Remove all characters except a-z, A-Z, 0-9 and _ .
664664
// Add cyrillic for support old custom attributes
665665
// eslint-disable-next-line no-useless-escape
666-
return str.replace(/[^a-zA-ZА-Яа-яЁё0-9_.:\-]/g, '') as T
666+
return str.replace(/[^a-zA-ZА-Яа-яЁё0-9_.:\- ]/g, '') as T
667667
}
668668
return str
669669
}

0 commit comments

Comments
 (0)