Mercurial > kallithea
changeset 3048:3f0fe158dc0c beta
Added uri encoding to the username so that usernames with '@' in them (such as email address/users from LDAP) will
not have to replace the first '@' with %40 in order to clone
author | philip.j@hostdime.com |
---|---|
date | Thu, 29 Nov 2012 16:09:42 -0500 |
parents | 3b3de7c68ae1 |
children | 12b183c1628b |
files | rhodecode/controllers/summary.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/controllers/summary.py Thu Nov 29 22:19:16 2012 +0100 +++ b/rhodecode/controllers/summary.py Thu Nov 29 16:09:42 2012 -0500 @@ -97,7 +97,7 @@ uri_tmpl = uri_tmpl.replace('{', '%(').replace('}', ')s') decoded_path = safe_unicode(urllib.unquote(parsed_url.path)) uri_dict = { - 'user': username, + 'user': urllib.quote(username), 'pass': password, 'scheme': parsed_url.scheme, 'netloc': parsed_url.netloc,