Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
c372e3de
Verified
Commit
c372e3de
authored
Aug 24, 2019
by
Baptiste Beauplat
Browse files
Fix utf-8 changelog support in RFS template
parent
008a450f
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/controllers/sponsor.py
View file @
c372e3de
...
@@ -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'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment