fixes missing content type on migration wizard

This commit is contained in:
Sebastian Sdorra
2020-07-03 09:08:49 +02:00
parent 3b0693e744
commit b8d2ecfb49
2 changed files with 4 additions and 0 deletions

View File

@@ -173,6 +173,9 @@ class MigrationWizardServlet extends HttpServlet {
MustacheFactory mf = new DefaultMustacheFactory();
Mustache template = mf.compile(templateName);
resp.setContentType("text/html");
resp.setCharacterEncoding("UTF-8");
PrintWriter writer;
try {
writer = resp.getWriter();