You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Jason Rumney <jr...@altio.com> on 2006/05/09 13:33:58 UTC

PATCH: ROL-1070

The following is a patch against 
trunk/src/org/apache/roller/presentation/servlets/CommentAuthenticatorServlet.java, 
to fix ROL-1070.


--- CommentAuthenticatorServlet.java.orig       2006-05-09 
12:17:51.781250000 +0100
+++ CommentAuthenticatorServlet.java    2006-05-09 12:18:31.437500000 +0100
@@ -62,9 +62,9 @@
     public void doGet(HttpServletRequest request, HttpServletResponse 
response)

         throws IOException, ServletException {

+        response.setContentType("text/html; charset=utf-8");
         PrintWriter out = response.getWriter();

-        response.setContentType("text/html");
         out.println(this.authenticator.getHtml(null, request, response));
     }