Merge branch 'master' of github.com:web2py/web2py

This commit is contained in:
mdipierro
2016-07-05 08:35:58 -05:00

View File

@@ -1930,7 +1930,7 @@ class Auth(object):
parts = next.split('/')
if not ':' in parts[0]:
return next
elif len(parts)>2 and parts[0].endswith(':') and parts[1:3]==('', host):
elif len(parts)>2 and parts[0].endswith(':') and parts[1:3]==['', host]:
return next
return None