jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpfis...@apache.org
Subject svn commit: r1375406 - /jackrabbit/oak/trunk/oak-mk-remote/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java
Date Tue, 21 Aug 2012 07:20:45 GMT
Author: dpfister
Date: Tue Aug 21 07:20:45 2012
New Revision: 1375406

URL: http://svn.apache.org/viewvc?rev=1375406&view=rev
Log:
Output of diff() is not proper json

Modified:
    jackrabbit/oak/trunk/oak-mk-remote/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java

Modified: jackrabbit/oak/trunk/oak-mk-remote/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mk-remote/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java?rev=1375406&r1=1375405&r2=1375406&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mk-remote/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java
(original)
+++ jackrabbit/oak/trunk/oak-mk-remote/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java
Tue Aug 21 07:20:45 2012
@@ -177,7 +177,7 @@ class MicroKernelServlet {
             String path = request.getParameter("path", "");
             int depth = request.getParameter("depth", 1);
 
-            response.setContentType("application/json");
+            response.setContentType("text/plain");
             String json = mk.diff(fromRevisionId, toRevisionId, path, depth);
             if (request.getUserAgent() != null) {
                 json = JsopBuilder.prettyPrint(json);



Mime
View raw message