From c5b04e309583c8771cfa58e35f595b3b46ee2d63 Mon Sep 17 00:00:00 2001 From: Chun-LingChen Date: Tue, 13 Feb 2018 11:17:02 -0800 Subject: [PATCH] use full path in case of there are query params (#4411) --- superset/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/utils.py b/superset/utils.py index 42616e72a24f..f4fcd93d0768 100644 --- a/superset/utils.py +++ b/superset/utils.py @@ -716,7 +716,7 @@ def wraps(self, *args, **kwargs): return redirect( url_for( self.appbuilder.sm.auth_view.__class__.__name__ + '.login', - next=request.path)) + next=request.full_path)) f._permission_name = permission_str return functools.update_wrapper(wraps, f)