We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5f11b1 commit ee5c8d9Copy full SHA for ee5c8d9
server/postgres/src/utils.ts
@@ -661,7 +661,8 @@ export interface JoinProps {
661
export function escape<T> (str: T): T {
662
if (typeof str === 'string') {
663
// Remove all characters except a-z, A-Z, 0-9 and _ .
664
- return str.replace(/[^a-zA-Z0-9_.:]/g, '') as T
+ // Add cyrillic for support old custom attributes
665
+ return str.replace(/[^a-zA-ZА-Яа-яЁё0-9_.:\-]/g, '') as T
666
}
667
return str
668
0 commit comments