From 31fb02f8103befaeeea90a39afe0eea4bd304d8f Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 9 Jun 2022 21:01:02 +0200 Subject: [PATCH] titleTemplate should be sanitized on import --- src/services/builtin_attributes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/builtin_attributes.js b/src/services/builtin_attributes.js index 5c4ca4488..ea8276fa6 100644 --- a/src/services/builtin_attributes.js +++ b/src/services/builtin_attributes.js @@ -50,7 +50,7 @@ module.exports = [ { type: 'label', name: 'shareDisallowRobotIndexing' }, { type: 'label', name: 'displayRelations' }, { type: 'label', name: 'hideRelations' }, - { type: 'label', name: 'titleTemplate' }, + { type: 'label', name: 'titleTemplate', isDangerous: true }, // relation names { type: 'relation', name: 'internalLink' },