diff --git a/project/src/controllers/GameController.ts b/project/src/controllers/GameController.ts index 54054582..16b4e22b 100644 --- a/project/src/controllers/GameController.ts +++ b/project/src/controllers/GameController.ts @@ -304,7 +304,7 @@ export class GameController } // Check items with a tag that contains non alphanumeric characters - const regxp = /[^a-zA-Z0-9 .]/g; + const regxp = /([/w"\\'])/g; if (regxp.test(item.upd.Tag?.Name)) { this.logger.warning(`Fixed item: ${item._id}s Tag value, removed invalid characters`);