From bace0faceea06afa569efa94dc101d7bb09037a1 Mon Sep 17 00:00:00 2001 From: Sheldan <5037282+Sheldan@users.noreply.github.com> Date: Sat, 21 Aug 2021 16:07:05 +0200 Subject: [PATCH] [AB-xxx] fixing profanity report json safety --- .../profanityDetection_listener_report_embed_en_US.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abstracto-modules/profanity-filter/src/main/resources/en_US/listener/profanityListener/profanityDetection_listener_report_embed_en_US.ftl b/abstracto-modules/profanity-filter/src/main/resources/en_US/listener/profanityListener/profanityDetection_listener_report_embed_en_US.ftl index eec46bc1..8a503a59 100644 --- a/abstracto-modules/profanity-filter/src/main/resources/en_US/listener/profanityListener/profanityDetection_listener_report_embed_en_US.ftl +++ b/abstracto-modules/profanity-filter/src/main/resources/en_US/listener/profanityListener/profanityDetection_listener_report_embed_en_US.ftl @@ -15,12 +15,12 @@ }, { "name": "<@safe_include "profanityListener_report_embed_profanity_type_field_title"/>", - "value": "${profanityGroupKey}", + "value": "${profanityGroupKey?json_string}", "inline": "true" }, { "name": "<@safe_include "profanityListener_report_embed_message_content_field_title"/>", - "value": "${profaneMessage.contentRaw}", + "value": "${profaneMessage.contentRaw?json_string}", "inline": "true" } ]