Selaa lähdekoodia

Add prorper escaping of url in issue form

Odin Ugedal 9 vuotta sitten
vanhempi
commit
c9321550e0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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">