From ae1d50d19a4ffe1b527429978ebff6fdd35b71e8 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 4 Apr 2017 19:40:46 -0400 Subject: models/mirror: escape credentials before write mirror address (#4014) Special characters such as '@', ';', '#' and ':' could occur in password portion of credentials, which breaks the interpretation and saves 'config' file in with extra characters that are not recognized by Git (due to INI library). --- gogs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gogs.go') diff --git a/gogs.go b/gogs.go index ccf1b6ab..dfdbe528 100644 --- a/gogs.go +++ b/gogs.go @@ -16,7 +16,7 @@ import ( "github.com/gogits/gogs/pkg/setting" ) -const APP_VER = "0.11.2.0404" +const APP_VER = "0.11.3.0404" func init() { setting.AppVer = APP_VER -- cgit v1.2.3