mirror of
https://github.com/gogs/gogs.git
synced 2026-03-13 15:40:25 +01:00
templates/repo/setting: fix missing EscapePound (#5442)
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user