mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
VDestination: Add extension to default destination.
This commit is contained in:
@@ -2001,7 +2001,7 @@ class VDestination(Validator):
|
||||
|
||||
def run(self, dest):
|
||||
if not dest:
|
||||
dest = self.default or "/"
|
||||
dest = self.default or add_sr("/")
|
||||
|
||||
ld = dest.lower()
|
||||
if ld.startswith(('/', 'http://', 'https://')):
|
||||
|
||||
Reference in New Issue
Block a user