hgext/acl.py
changeset 9018 5ed463d0ebdb
parent 8935 f4f0e902b750
child 9052 1344e607180b
--- a/hgext/acl.py	Wed Jul 01 16:47:46 2009 -0500
+++ b/hgext/acl.py	Thu Jul 02 19:53:20 2009 +0200
@@ -84,7 +84,7 @@
     if source == 'serve' and 'url' in kwargs:
         url = kwargs['url'].split(':')
         if url[0] == 'remote' and url[1].startswith('http'):
-            user = urllib.unquote(url[2])
+            user = urllib.unquote(url[3])
 
     if user is None:
         user = getpass.getuser()