From 0128036514ed40b2c878053e633762a8cffed74d Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 23 Nov 2015 22:32:07 -0500 Subject: #1681 some fixes for builtin SSH server on Windows --- routers/install.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routers/install.go') diff --git a/routers/install.go b/routers/install.go index 5240b88e33..f3c51d06ac 100644 --- a/routers/install.go +++ b/routers/install.go @@ -222,6 +222,7 @@ func InstallPost(ctx *middleware.Context, form auth.InstallForm) { } // Test repository root path. + form.RepoRootPath = strings.Replace(form.RepoRootPath, "\\", "/", -1) if err := os.MkdirAll(form.RepoRootPath, os.ModePerm); err != nil { ctx.Data["Err_RepoRootPath"] = true ctx.RenderWithErr(ctx.Tr("install.invalid_repo_path", err), INSTALL, &form) -- cgit v1.2.3