mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 08:25:44 +01:00
fixes missing content type on migration wizard
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user