summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOdin Ugedal <odin@ugedal.com>2016-03-15 11:56:49 +0100
committerOdin Ugedal <odin@ugedal.com>2016-03-15 11:56:49 +0100
commitc9321550e0e281c0ceebaae8db35b2bc796a71bd (patch)
tree7876394b2182adf1b2d61d33acaf999bc1a1679b
parentac390d28b8d3b345d3a21f2c8f1da3119209a2cf (diff)
downloadgitea-c9321550e0e281c0ceebaae8db35b2bc796a71bd.tar.gz
gitea-c9321550e0e281c0ceebaae8db35b2bc796a71bd.zip
Add prorper escaping of url in issue form
-rw-r--r--templates/repo/issue/new_form.tmpl2
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">