diff --git a/django/http/__init__.py b/django/http/__init__.py index 4421573258..2b68a6243a 100644 --- a/django/http/__init__.py +++ b/django/http/__init__.py @@ -54,7 +54,7 @@ class HttpRequest(object): ``request.get_full_path()``. """ if not location: - location = request.get_full_path() + location = self.get_full_path() if not ':' in location: current_uri = '%s://%s%s' % (self.is_secure() and 'https' or 'http', get_host(self), self.path)