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));
    }

Reply via email to