diff --git a/server-ce/test/helpers/project.ts b/server-ce/test/helpers/project.ts index eab0685613..643a742e48 100644 --- a/server-ce/test/helpers/project.ts +++ b/server-ce/test/helpers/project.ts @@ -245,7 +245,8 @@ export function getSpamSafeProjectName() { // Move from hex/16 to base64/64 possible characters per char in string const name = Buffer.from(uuid().replaceAll('-', ''), 'hex') .toString('base64') - .replace('/', '_') + .replaceAll('/', 'x') + .replaceAll('+', 'y') .slice(0, 10) const nDigits = (name.match(/\d/g) || []).length if (nDigits < 6) return name