diff options
author | philip.j@hostdime.com <philip.j@hostdime.com> | 2012-11-29 16:09:42 -0500 |
---|---|---|
committer | philip.j@hostdime.com <philip.j@hostdime.com> | 2012-11-29 16:09:42 -0500 |
commit | eeca90326ddd3ef68177cca2e2b6a365fdf11e38 (patch) | |
tree | b9866059a05bb585af269cc86732f07cf966b293 /rhodecode | |
parent | 76fb2e3657939dacb6d47cf891eda6e128c49862 (diff) |
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
--HG--
branch : beta
extra : source : 9feb69b473e9a4551f43c237f2ae0515914b95a2
Diffstat (limited to 'rhodecode')
-rw-r--r-- | rhodecode/controllers/summary.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rhodecode/controllers/summary.py b/rhodecode/controllers/summary.py index 63a62b45..b67fb119 100644 --- a/rhodecode/controllers/summary.py +++ b/rhodecode/controllers/summary.py @@ -97,7 +97,7 @@ class SummaryController(BaseRepoController): 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, |