mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
redirect: Use fullurl instead of url.
This commit is contained in:
@@ -179,7 +179,7 @@ class BaseController(WSGIController):
|
||||
and added as the "dest" parameter of the new url.
|
||||
"""
|
||||
from r2.lib.template_helpers import add_sr
|
||||
params = dict(dest=cls.format_output_url(request.url))
|
||||
params = dict(dest=cls.format_output_url(request.fullurl))
|
||||
if c.extension == "widget" and request.GET.get("callback"):
|
||||
params['callback'] = request.GET.get("callback")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user