pkg/context: apply EscapePound at context level

Always escape template variable {{.Link}} variable and  redirect calls.

Relates to #5442
This commit is contained in:
Unknwon
2018-09-28 23:56:45 -04:00
parent 1843354d88
commit 0d66b1cc1c
8 changed files with 20 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ import (
"github.com/gogs/gogs/pkg/setting"
)
const APP_VER = "0.11.67.0928"
const APP_VER = "0.11.68.0928"
func init() {
setting.AppVer = APP_VER