felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vvalc...@apache.org
Subject svn commit: r1701212 - /felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java
Date Fri, 04 Sep 2015 11:13:48 GMT
Author: vvalchev
Date: Fri Sep  4 11:13:48 2015
New Revision: 1701212

URL: http://svn.apache.org/r1701212
Log:
Fixed FELIX-4849 : Do not call setContentLength after calling sendRedirect
https://issues.apache.org/jira/browse/FELIX-4849

Modified:
    felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java

Modified: felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java?rev=1701212&r1=1701211&r2=1701212&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java
(original)
+++ felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java
Fri Sep  4 11:13:48 2015
@@ -519,8 +519,8 @@ public class OsgiManager extends Generic
                 path = path.concat("/"); //$NON-NLS-1$
             }
             path = path.concat(holder.getDefaultPluginLabel());
-            response.sendRedirect(path);
             response.setContentLength(0);
+            response.sendRedirect(path);
             return;
         }
 



Mime
View raw message