wiki: handle '#' in edit page ()

pull/4129/head
Unknwon 2017-02-15 05:10:00 -05:00
parent 94f91543b6
commit 32a868d431
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
3 changed files with 3 additions and 3 deletions
templates

View File

@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.9.147.0214"
const APP_VER = "0.9.148.0215"
func init() {
setting.AppVer = APP_VER

View File

@ -1 +1 @@
0.9.147.0214
0.9.148.0215

View File

@ -11,7 +11,7 @@
</div>
{{end}}
</div>
<form class="ui form" action="{{.Link}}" method="post">
<form class="ui form" action="{{EscapePound .Link}}" method="post">
{{.CsrfTokenHtml}}
<input type="hidden" name="old_title" value="{{.old_title}}">
<div class="field {{if .Err_Title}}error{{end}}">