Skip to content

Commit

Permalink
use full path in case of there are query params (#4411)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chun-LingChen authored and mistercrunch committed Feb 13, 2018
1 parent e0bbb0c commit 5badec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/utils.py
Expand Up @@ -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)
Expand Down

0 comments on commit 5badec3

Please sign in to comment.