forked from forgejo/forgejo
Fix some issues with special chars in branch names (#3767)
Signed-off-by: Robin Durner <github@nubenum.de>
This commit is contained in:
parent
acb6f8a518
commit
756eafaaf6
12 changed files with 26 additions and 25 deletions
|
@ -5,7 +5,7 @@
|
|||
</div>
|
||||
<div class="ten wide right aligned column">
|
||||
{{if .PageIsCommits}}
|
||||
<form class="ignore-dirty" action="{{.RepoLink}}/commits/{{.BranchNameSubURL}}/search">
|
||||
<form class="ignore-dirty" action="{{.RepoLink}}/commits/{{.BranchNameSubURL | EscapePound}}/search">
|
||||
<div class="ui tiny search input">
|
||||
<input name="q" placeholder="{{.i18n.Tr "repo.commits.search"}}" value="{{.Keyword}}" autofocus>
|
||||
</div>
|
||||
|
@ -79,4 +79,4 @@
|
|||
</div>
|
||||
{{end}}
|
||||
|
||||
{{template "base/paginate" .}}
|
||||
{{template "base/paginate" .}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue