You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ga...@apache.org on 2006/05/13 08:54:57 UTC

svn commit: r406027 - /incubator/roller/trunk/src/org/apache/roller/presentation/servlets/CommentAuthenticatorServlet.java

Author: gangolli
Date: Fri May 12 23:54:57 2006
New Revision: 406027

URL: http://svn.apache.org/viewcvs?rev=406027&view=rev
Log:
Fix for ROL-1070, based on patch submitted by Jason Rumney who also filed the bug.

Modified:
    incubator/roller/trunk/src/org/apache/roller/presentation/servlets/CommentAuthenticatorServlet.java

Modified: incubator/roller/trunk/src/org/apache/roller/presentation/servlets/CommentAuthenticatorServlet.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/apache/roller/presentation/servlets/CommentAuthenticatorServlet.java?rev=406027&r1=406026&r2=406027&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/presentation/servlets/CommentAuthenticatorServlet.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/presentation/servlets/CommentAuthenticatorServlet.java Fri May 12 23:54:57 2006
@@ -62,9 +62,8 @@
     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));
     }