Verified Commit c372e3de authored by Baptiste Beauplat's avatar Baptiste Beauplat
Browse files

Fix utf-8 changelog support in RFS template

parent 008a450f
...@@ -327,7 +327,8 @@ class SponsorController(BaseController): ...@@ -327,7 +327,8 @@ class SponsorController(BaseController):
# This is a workaround for Thunderbird and some other clients # This is a workaround for Thunderbird and some other clients
# not handling properly '+' in the mailto body parameter. # not handling properly '+' in the mailto body parameter.
c.mailbody = render('/sponsor/rfs_template.mako') c.mailbody = render('/sponsor/rfs_template.mako')
c.mailbody = urllib.quote_plus(c.mailbody).replace('+', '%20') c.mailbody = urllib.quote_plus(c.mailbody.encode('utf-8')) \
.replace('+', '%20')
return render('/sponsor/rfs_howto.mako') return render('/sponsor/rfs_howto.mako')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment