Skip to content

Commit

Permalink
Merge pull request #179 from marblestation/bugfix_slack_feedback_enco…
Browse files Browse the repository at this point in the history
…ding

Bugfix: slack comment encoding not treated properly
  • Loading branch information
marblestation committed Aug 14, 2020
2 parents f6948d8 + 706ba4b commit ddeea3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adsws/feedback/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def prettify_post(post_data):
text = [
'*Commenter*: {}'.format(name),
'*e-mail*: {}'.format(reply_to),
'*Feedback*: {}'.format(comments),
'*Feedback*: {}'.format(comments.encode('utf-8')),
]

used = ['channel', 'username', 'name', '_replyto', 'comments', 'g-recaptcha-response']
Expand Down

0 comments on commit ddeea3b

Please sign in to comment.