templates/repo/setting: fix missing EscapePound (#5442)

pull/5446/head
Unknwon 2018-09-28 23:32:00 -04:00
parent bd7d1e2f16
commit 1843354d88
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
</h4>
<div class="ui attached segment branch-protection">
<p>{{.i18n.Tr "repo.settings.branch_protection_desc" .Branch.Name | Str2html}}</p>
<form class="ui form" action="{{.Link}}" method="post">
<form class="ui form" action="{{EscapePound .Link}}" method="post">
{{.CSRFTokenHTML}}
<div class="inline field">
<div class="ui checkbox">