diff --git a/backend/src/utils/index.ts b/backend/src/utils/index.ts index 3fbfc8f3..e3edf632 100644 --- a/backend/src/utils/index.ts +++ b/backend/src/utils/index.ts @@ -41,7 +41,7 @@ export const isSuspectedParamater = ( if (validator.isUUID(value)) { return true } - const splitParam = value.split(/[-_]/) + const splitParam = value.split(/[_]/) for (const token of splitParam) { if ( !(wordJson[token.toLowerCase()] || customWords.has(token.toLowerCase()))