Browse Source

Add prorper escaping of url in issue form

pull/2830/head
Odin Ugedal 9 years ago
parent
commit
c9321550e0
  1. 2
      templates/repo/issue/new_form.tmpl

2
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}} {{.CsrfTokenHtml}}
{{if .Flash}} {{if .Flash}}
<div class="sixteen wide column"> <div class="sixteen wide column">

Loading…
Cancel
Save