Skip to content

Commit

Permalink
Use request.get_full_path() (GeoNode#160) (GeoNode#175)
Browse files Browse the repository at this point in the history
Returns the path, plus an appended query string, if applicable.
  • Loading branch information
dakcarto authored and Amiram Rahav committed Mar 15, 2018
1 parent 06bf073 commit 36b4d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/security/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ def process_request(self, request):
return HttpResponseRedirect(
'{login_path}?next={request_path}'.format(
login_path=self.redirect_to,
request_path=request.path))
request_path=request.request.get_full_path()))

0 comments on commit 36b4d76

Please sign in to comment.