From e69521f0292a4e4c170d924d6c5708494ccd1b67 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 2 Nov 2021 14:26:13 +0800 Subject: fix email with + when active (#17518) Co-authored-by: zeripath --- templates/mail/auth/activate_email.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/mail') diff --git a/templates/mail/auth/activate_email.tmpl b/templates/mail/auth/activate_email.tmpl index 6a8de50112..a1d7ec37ec 100644 --- a/templates/mail/auth/activate_email.tmpl +++ b/templates/mail/auth/activate_email.tmpl @@ -5,7 +5,7 @@ {{.i18n.Tr "mail.activate_email.title" .DisplayName}} -{{ $activate_url := printf "%suser/activate_email?code=%s&email=%s" AppUrl .Code .Email}} +{{ $activate_url := printf "%suser/activate_email?code=%s&email=%s" AppUrl .Code (QueryEscape .Email)}}

{{.i18n.Tr "mail.hi_user_x" .DisplayName | Str2html}}


{{.i18n.Tr "mail.activate_email.text" .ActiveCodeLives | Str2html}}

{{$activate_url}}


-- cgit v1.2.3