Fix encoding
This commit is contained in:
parent
9873c04231
commit
c79abc6d77
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ def unsubscribe(email, name):
|
|||
return
|
||||
|
||||
primary_action = frappe.utils.get_url() + "/api/method/frappe.email.doctype.newsletter.newsletter.confirmed_unsubscribe"+\
|
||||
"?" + get_signed_params({"email": email, "name":name})
|
||||
"?" + get_signed_params({"email": email, "name":name.encode('utf-8')})
|
||||
return_confirmation_page(email, name, primary_action)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue