summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-11-02 14:26:13 +0800
committerGitHub <noreply@github.com>2021-11-02 06:26:13 +0000
commite69521f0292a4e4c170d924d6c5708494ccd1b67 (patch)
tree6a4c7ddf3ab32af3e21b7f8622e4521cd501f762 /modules
parentcb9c8184c9b0967e0b0fbc5eeedec4ba3ae4f020 (diff)
downloadgitea-e69521f0292a4e4c170d924d6c5708494ccd1b67.tar.gz
gitea-e69521f0292a4e4c170d924d6c5708494ccd1b67.zip
fix email with + when active (#17518)
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'modules')
-rw-r--r--modules/templates/helper.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index 7919586359..61d926ee8a 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -498,6 +498,7 @@ func NewTextFuncMap() []texttmpl.FuncMap {
}
return sum
},
+ "QueryEscape": url.QueryEscape,
}}
}