From 8408c982c4a7de9ba2ff5d28e6bac24d70e09454 Mon Sep 17 00:00:00 2001 From: gnaegi <gnaegi@frentix.com> Date: Thu, 12 Mar 2020 22:34:57 +0100 Subject: [PATCH] OO-4570 add character set to content type for proper http transmition --- src/main/java/org/olat/ims/lti/ui/PostDataMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/olat/ims/lti/ui/PostDataMapper.java b/src/main/java/org/olat/ims/lti/ui/PostDataMapper.java index ae2063b98f9..e4eb59f3842 100644 --- a/src/main/java/org/olat/ims/lti/ui/PostDataMapper.java +++ b/src/main/java/org/olat/ims/lti/ui/PostDataMapper.java @@ -81,7 +81,7 @@ public class PostDataMapper implements Mapper { String postData = BasicLTIUtil.postLaunchHTML(props, launchUrl, debug); StringMediaResource mediares = new StringMediaResource(); mediares.setData(postData); - mediares.setContentType("text/html"); + mediares.setContentType("text/html;charset=utf-8"); mediares.setEncoding("UTF-8"); return mediares; } -- GitLab