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

@@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added missing architecture to debian installation documentation ([#1230](https://github.com/scm-manager/scm-manager/pull/1230))
- Mercurial on Python 3 ([#1232](https://github.com/scm-manager/scm-manager/pull/1232))
- Fixed wrong package information for deb and rpm packages ([#1229](https://github.com/scm-manager/scm-manager/pull/1229))
- Fixed missing content type on migration wizard
## [2.1.1] - 2020-06-23
### Fixed

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();