commit | e83fbc5f9213cb868cf31f3102bac4ed5ca028c1 | [log] [tgz] |
---|---|---|
author | Valentin Valchev <vvalchev@apache.org> | Fri Sep 04 11:13:48 2015 +0000 |
committer | Valentin Valchev <vvalchev@apache.org> | Fri Sep 04 11:13:48 2015 +0000 |
tree | 2c029575cad1e9826603c9775fb1b8da7668ef0f | |
parent | 7676431f03e6831c6d89990d715ec3d6d9b0dc99 [diff] |
Fixed FELIX-4849 : Do not call setContentLength after calling sendRedirect https://issues.apache.org/jira/browse/FELIX-4849 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1701212 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java index 3f63db6..25c8bb3 100644 --- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java +++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/OsgiManager.java
@@ -519,8 +519,8 @@ path = path.concat("/"); //$NON-NLS-1$ } path = path.concat(holder.getDefaultPluginLabel()); - response.sendRedirect(path); response.setContentLength(0); + response.sendRedirect(path); return; }