mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
typo
This commit is contained in:
@@ -95,7 +95,7 @@ class BaseController(WSGIController):
|
||||
@staticmethod
|
||||
def redirect(dest, code = 302):
|
||||
dest = _force_unicode(dest).encode('utf8')
|
||||
if c.cname and "?cnameframe=1" not in red:
|
||||
if c.cname and "?cnameframe=1" not in dest:
|
||||
dest += "?cnameframe=1"
|
||||
c.response.headers['Location'] = dest
|
||||
c.response.status_code = code
|
||||
|
||||
Reference in New Issue
Block a user