aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/controllers
diff options
context:
space:
mode:
authorphilip.j@hostdime.com <philip.j@hostdime.com>2012-11-29 16:09:42 -0500
committerphilip.j@hostdime.com <philip.j@hostdime.com>2012-11-29 16:09:42 -0500
commiteeca90326ddd3ef68177cca2e2b6a365fdf11e38 (patch)
treeb9866059a05bb585af269cc86732f07cf966b293 /rhodecode/controllers
parent76fb2e3657939dacb6d47cf891eda6e128c49862 (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/controllers')
-rw-r--r--rhodecode/controllers/summary.py2
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,