workaround on UTF8 encoding problem

This commit is contained in:
Peter Hormanns 2020-02-27 12:32:25 +01:00
parent 0d893f7c06
commit b6fec8ba0a

View File

@ -65,6 +65,7 @@ public class UserServlet extends AbstractLDAPServlet {
@Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
req.setCharacterEncoding("UTF-8");
final Messages messages = new Messages(req.getLocale());
final HttpSession httpSession = req.getSession();
cleanSession(httpSession);