Commit 7237f8c0 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

- urlencode next in invitation sent email

parent 3bf924ec
......@@ -114,7 +114,7 @@ def _generate_invitation_code():
def _send_invitation(request, baseurl, inv):
subject = _('Invitation to Astakos')
site = get_current_site(request)
url = settings.SIGNUP_TARGET % (baseurl, inv.code, site.domain)
url = settings.SIGNUP_TARGET % (baseurl, inv.code, quote(site.domain))
message = render_to_string('invitation.txt', {
'invitation': inv,
'url': url,
Markdown is supported
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