1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 23:48:47 +00:00

Fixed bug in quoting/unquoting string

This commit is contained in:
zhengxie
2013-02-25 16:39:20 +08:00
parent 7736b78def
commit 37f3631ad8
2 changed files with 7 additions and 6 deletions

View File

@@ -1772,7 +1772,7 @@ def get_repo_download_url(request, repo_id):
return '', _(u"Invalid server setting")
ccnet_applet_root = get_ccnetapplet_root()
email = urllib2.quote(request.user.username)
email = urllib2.quote(request.user.username.encode('utf-8'))
url = ccnet_applet_root + "/repo/download/"