You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by pw...@apache.org on 2018/11/29 15:17:21 UTC
nifi git commit: NIFI-5846: Redirect URL is incorrect after logout
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 <pa...@gmail.com>
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 <ko...@yahoo-corp.jp>
Authored: Wed Nov 28 14:23:39 2018 +0900
Committer: Peter Wicks <pa...@gmail.com>
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");
}
}