diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-04-06 09:31:31 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-04-05 18:31:31 -0700 |
commit | 0cee52e0d3e171bb6bba63aa12479ea5b2b35561 (patch) | |
tree | 3c3993c06417445a15eb9ec9614adc5359b3c6d0 /templates/org/settings | |
parent | e7493e953f7cc32569b08f48a46e4cf0bacbf74e (diff) | |
download | gitea-0cee52e0d3e171bb6bba63aa12479ea5b2b35561.tar.gz gitea-0cee52e0d3e171bb6bba63aa12479ea5b2b35561.zip |
fix: remove `str2html` from org full name (#1360)
* fix: remove str2html for security issue.
* fix: update
Diffstat (limited to 'templates/org/settings')
-rw-r--r-- | templates/org/settings/options.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/settings/options.tmpl b/templates/org/settings/options.tmpl index 72c191e54d..8041365434 100644 --- a/templates/org/settings/options.tmpl +++ b/templates/org/settings/options.tmpl @@ -18,7 +18,7 @@ </div> <div class="field {{if .Err_FullName}}error{{end}}"> <label for="full_name">{{.i18n.Tr "org.org_full_name_holder"}}</label> - <input id="full_name" name="full_name" value="{{.Org.FullName | Str2html}}"> + <input id="full_name" name="full_name" value="{{.Org.FullName}}"> </div> <div class="field {{if .Err_Description}}error{{end}}"> <label for="description">{{$.i18n.Tr "org.org_desc"}}</label> |