diff options
author | Odin Ugedal <odin@ugedal.com> | 2016-03-15 11:56:49 +0100 |
---|---|---|
committer | Odin Ugedal <odin@ugedal.com> | 2016-03-15 11:56:49 +0100 |
commit | c9321550e0e281c0ceebaae8db35b2bc796a71bd (patch) | |
tree | 7876394b2182adf1b2d61d33acaf999bc1a1679b | |
parent | ac390d28b8d3b345d3a21f2c8f1da3119209a2cf (diff) | |
download | gitea-c9321550e0e281c0ceebaae8db35b2bc796a71bd.tar.gz gitea-c9321550e0e281c0ceebaae8db35b2bc796a71bd.zip |
Add prorper escaping of url in issue form
-rw-r--r-- | templates/repo/issue/new_form.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl index b77cfb2c70..77c6d126d8 100644 --- a/templates/repo/issue/new_form.tmpl +++ b/templates/repo/issue/new_form.tmpl @@ -1,4 +1,4 @@ -<form class="ui comment form grid" action="{{.Link}}" method="post"> +<form class="ui comment form grid" action="{{EscapePound .Link}}" method="post"> {{.CsrfTokenHtml}} {{if .Flash}} <div class="sixteen wide column"> |