From 99241d8c57a4e5b21287de4027602fb1c458b38e Mon Sep 17 00:00:00 2001
From: dgrh99 <daniel.gerhardt@mni.thm.de>
Date: Tue, 5 Feb 2013 12:29:49 +0100
Subject: [PATCH] Added text/plain content type support to configuration since
 it is returned by some controller methods.

---
 src/main/webapp/WEB-INF/arsnova-servlet.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/webapp/WEB-INF/arsnova-servlet.xml b/src/main/webapp/WEB-INF/arsnova-servlet.xml
index f5917fbb..7bc0504d 100644
--- a/src/main/webapp/WEB-INF/arsnova-servlet.xml
+++ b/src/main/webapp/WEB-INF/arsnova-servlet.xml
@@ -25,6 +25,9 @@
 	<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
 		<property name="messageConverters">
 			<list>
+	            <bean class = "org.springframework.http.converter.StringHttpMessageConverter">
+	                <property name="supportedMediaTypes" value = "text/plain;charset=UTF-8" />
+	            </bean>
 				<bean class="org.springframework.http.converter.json.MappingJackson2HttpMessageConverter" />
 			</list>
 		</property>
-- 
GitLab