James Moger
2012-10-18 13417cf9c6eec555b51da49742e47939d2f5715b
src/com/gitblit/JsonServlet.java
@@ -41,6 +41,12 @@
   private static final long serialVersionUID = 1L;
   protected final int forbiddenCode = HttpServletResponse.SC_FORBIDDEN;
   protected final int notAllowedCode = HttpServletResponse.SC_METHOD_NOT_ALLOWED;
   protected final int failureCode = HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
   protected final Logger logger;
   public JsonServlet() {
@@ -116,6 +122,7 @@
      if (o != null) {
         // Send JSON response
         String json = JsonUtils.toJsonString(o);
         response.setCharacterEncoding(Constants.ENCODING);
         response.getWriter().append(json);
      }
   }