--- old +++ new @@ -1,6 +1,6 @@
https://sourceforge.net/apps/trac/sourceforge/ticket/24706
->Git code browse for Zenko project is down. http://sourceforge.net/projects/zenko/git+>Git code browse for Zenko project is down. http://sourceforge.net/p/zenko/git
>It gives a 500 status code.
milestone: limbo --> forge-mar-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Module/var/local/allura/Allura/allura/templates/jinja_master/lib.html:34intemplate<<{%settitle=h.really_unicode(title)%}{%ifemail%}<imgsrc="{{g.gravatar(email, size=size)}}"alt="{{title or email}}"title="{{title or email}}">><imgsrc="{{g.gravatar(email, size=size)}}"Moduleallura.lib.gravatar:58inurl<<assertgravatar_idoremailifgravatar_idisNone:gravatar_id=id(email)if'r' not in kw and 'rating' not in kw: kw['r'] = 'pg'return('https://secure.gravatar.com/avatar/%s?%s' % (gravatar_id, urllib.urlencode(kw)))>>gravatar_id=id(email)Moduleallura.lib.gravatar:17inid<<ifmatch:email=match.group(1)returnhashlib.md5(email.strip().lower()).hexdigest()defurl(email=None,gravatar_id=None,**kw):>>returnhashlib.md5(email.strip().lower()).hexdigest()UnicodeEncodeError:'ascii' codec can't encode character u'\xed' in position 3: ordinal not in range(128)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
During planning, we discussed fixing this both where the error occurred as well as "upstream." However, upon review, the value was already perfectly valid unicode, and it was just the implicit encoding using the default 'ascii' encoding instead of 'utf8' that was the problem.
I added a test case, and I also forked the repo in question to my sandbox if you wish to verify there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Diff:
allura:cj/3852
During planning, we discussed fixing this both where the error occurred as well as "upstream." However, upon review, the value was already perfectly valid unicode, and it was just the implicit encoding using the default 'ascii' encoding instead of 'utf8' that was the problem.
I added a test case, and I also forked the repo in question to my sandbox if you wish to verify there.