##// END OF EJS Templates
acl: read correct index into url for username (issue298)...
Henrik Stuart -
r9018:5ed463d0 default
parent child Browse files
Show More
@@ -84,7 +84,7 b' def hook(ui, repo, hooktype, node=None, '
84 84 if source == 'serve' and 'url' in kwargs:
85 85 url = kwargs['url'].split(':')
86 86 if url[0] == 'remote' and url[1].startswith('http'):
87 user = urllib.unquote(url[2])
87 user = urllib.unquote(url[3])
88 88
89 89 if user is None:
90 90 user = getpass.getuser()
General Comments 0
You need to be logged in to leave comments. Login now