Browse Source

Add prorper escaping of url in issue form

Odin Ugedal 9 years ago
parent
commit
c9321550e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/repo/issue/new_form.tmpl

+ 1 - 1
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">