sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r691374 - /incubator/sling/trunk/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SimpleWebDavServlet.java
Date Tue, 02 Sep 2008 20:45:28 GMT
Author: fmeschbe
Date: Tue Sep  2 13:45:27 2008
New Revision: 691374

URL: http://svn.apache.org/viewvc?rev=691374&view=rev
Log:
SLING-639 Don't call the base class service method if a redirect
or error has already been sent. Thanks Marc Speck for reporting.

Modified:
    incubator/sling/trunk/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SimpleWebDavServlet.java

Modified: incubator/sling/trunk/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SimpleWebDavServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SimpleWebDavServlet.java?rev=691374&r1=691373&r2=691374&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SimpleWebDavServlet.java
(original)
+++ incubator/sling/trunk/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SimpleWebDavServlet.java
Tue Sep  2 13:45:27 2008
@@ -85,9 +85,12 @@
                 uri += slingRepo.getDefaultWorkspace();
                 response.sendRedirect(uri);
             }
+            
+        } else {
+        
+            super.service(request, response);
         }
-
-        super.service(request, response);
+        
     }
 
     // ---------- SCR integration ----------------------------------------------



Mime
View raw message