Repository: nifi Updated Branches: refs/heads/master 30f2f4205 -> 72662f0b2
NIFI-5846: Redirect URL is incorrect after logout This closes #3185. Signed-off-by: Peter Wicks <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/72662f0b Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/72662f0b Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/72662f0b Branch: refs/heads/master Commit: 72662f0b2c5ec5f088aade94337f7edce665ee7e Parents: 30f2f42 Author: Kotaro Terada <[email protected]> Authored: Wed Nov 28 14:23:39 2018 +0900 Committer: Peter Wicks <[email protected]> Committed: Thu Nov 29 08:16:39 2018 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/nifi/web/filter/LogoutFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/72662f0b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/java/org/apache/nifi/web/filter/LogoutFilter.java ---------------------------------------------------------------------- diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/java/org/apache/nifi/web/filter/LogoutFilter.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/java/org/apache/nifi/web/filter/LogoutFilter.java index 9039612..08f9365 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/java/org/apache/nifi/web/filter/LogoutFilter.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/java/org/apache/nifi/web/filter/LogoutFilter.java @@ -50,7 +50,7 @@ public class LogoutFilter implements Filter { final ServletContext apiContext = servletContext.getContext("/nifi-api"); apiContext.getRequestDispatcher("/access/knox/logout").forward(request, response); } else { - ((HttpServletResponse) response).sendRedirect("../login"); + ((HttpServletResponse) response).sendRedirect("login"); } }
