This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 5badec3  use full path in case of there are query params (#4411)
5badec3 is described below

commit 5badec38e469ccab4edfb7b4ba189a4a915e305b
Author: Chun-LingChen <chunl...@usc.edu>
AuthorDate: Tue Feb 13 11:17:02 2018 -0800

    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 42616e7..f4fcd93 100644
--- a/superset/utils.py
+++ b/superset/utils.py
@@ -716,7 +716,7 @@ def has_access(f):
         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)

-- 
To stop receiving notification emails like this one, please contact
maximebeauche...@apache.org.

Reply via email to