Mercurial > kallithea
comparison rhodecode/controllers/summary.py @ 936:e1c9903d7e38 beta
fixed wrong clone url for anonymous access
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 10 Jan 2011 20:37:46 +0100 |
parents | 811fa5d45de8 |
children | 6489d9b7791d |
comparison
equal
deleted
inserted
replaced
935:5e8c7d78abd5 | 936:e1c9903d7e38 |
---|---|
79 #for default(anonymous) user we don't need to pass credentials | 79 #for default(anonymous) user we don't need to pass credentials |
80 username = '' | 80 username = '' |
81 password = '' | 81 password = '' |
82 else: | 82 else: |
83 username = str(c.rhodecode_user.username) | 83 username = str(c.rhodecode_user.username) |
84 password = '' | 84 password = '@' |
85 | 85 |
86 uri = u'%(protocol)s://%(user)s%(password)s@%(host)s%(prefix)s/%(repo_name)s' % { | 86 uri = u'%(protocol)s://%(user)s%(password)s%(host)s%(prefix)s/%(repo_name)s' % { |
87 'protocol': e.get('wsgi.url_scheme'), | 87 'protocol': e.get('wsgi.url_scheme'), |
88 'user':username, | 88 'user':username, |
89 'password':password, | 89 'password':password, |
90 'host':e.get('HTTP_HOST'), | 90 'host':e.get('HTTP_HOST'), |
91 'prefix':e.get('SCRIPT_NAME'), | 91 'prefix':e.get('SCRIPT_NAME'), |