Explorar el Código

Add prorper escaping of url in issue form

Odin Ugedal hace 9 años
padre
commit
c9321550e0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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">