workaround on UTF8 encoding problem
This commit is contained in:
parent
0d893f7c06
commit
b6fec8ba0a
@ -65,6 +65,7 @@ public class UserServlet extends AbstractLDAPServlet {
|
|||||||
@Override
|
@Override
|
||||||
protected void doPost(HttpServletRequest req, HttpServletResponse resp)
|
protected void doPost(HttpServletRequest req, HttpServletResponse resp)
|
||||||
throws ServletException, IOException {
|
throws ServletException, IOException {
|
||||||
|
req.setCharacterEncoding("UTF-8");
|
||||||
final Messages messages = new Messages(req.getLocale());
|
final Messages messages = new Messages(req.getLocale());
|
||||||
final HttpSession httpSession = req.getSession();
|
final HttpSession httpSession = req.getSession();
|
||||||
cleanSession(httpSession);
|
cleanSession(httpSession);
|
||||||
|
Loading…
Reference in New Issue
Block a user