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:
2
views.py
2
views.py
@@ -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/"
|
||||
|
||||
|
Reference in New Issue
Block a user