mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-31 01:38:08 -05:00
fixing login cover redirects
This commit is contained in:
@@ -618,15 +618,15 @@ class VReason(Validator):
|
||||
return ('redirect', dest)
|
||||
if reason.startswith('vote_'):
|
||||
fullname = reason[5:]
|
||||
t = Thing._by_fullname(fullname)
|
||||
t = Thing._by_fullname(fullname, data=True)
|
||||
return ('redirect', t.permalink)
|
||||
elif reason.startswith('share_'):
|
||||
fullname = reason[6:]
|
||||
t = Thing._by_fullname(fullname)
|
||||
t = Thing._by_fullname(fullname, data=True)
|
||||
return ('redirect', t.permalink)
|
||||
elif reason.startswith('reply_'):
|
||||
fullname = reason[6:]
|
||||
t = Thing._by_fullname(fullname)
|
||||
t = Thing._by_fullname(fullname, data=True)
|
||||
return ('redirect', t.permalink)
|
||||
elif reason.startswith('sr_change_'):
|
||||
sr_list = reason[10:].split(',')
|
||||
|
||||
Reference in New Issue
Block a user