VDestination: Add extension to default destination.

This commit is contained in:
Andre D
2013-07-16 20:57:39 -07:00
committed by Keith Mitchell
parent 2542e693e7
commit 4031911b3d

View File

@@ -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://')):