Commit 7246735c authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed charset encoding when using GET. JM-1351

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10900 b35dd754-fafc-0310-a699-88a17e54d16e
parent 0c6215dc
...@@ -98,9 +98,9 @@ public class HttpBindServlet extends HttpServlet { ...@@ -98,9 +98,9 @@ public class HttpBindServlet extends HttpServlet {
sendLegacyError(response, BoshBindingError.badRequest); sendLegacyError(response, BoshBindingError.badRequest);
return; return;
} }
queryString = URLDecoder.decode(queryString, "utf-8"); queryString = URLDecoder.decode(queryString, "UTF-8");
parseDocument(request, response, new ByteArrayInputStream(queryString.getBytes())); parseDocument(request, response, new ByteArrayInputStream(queryString.getBytes("UTF-8")));
} }
private void sendLegacyError(HttpServletResponse response, BoshBindingError error) private void sendLegacyError(HttpServletResponse response, BoshBindingError error)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment