mistercrunch closed pull request #4411: use full path in case of there are query params URL: https://github.com/apache/incubator-superset/pull/4411
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/superset/utils.py b/superset/utils.py index 42616e72a2..f4fcd93d07 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) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services