From 2fb740a2b9a342f0aad810ac4e64e432b9e5b78b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 17 Dec 2018 00:21:34 -0800 Subject: [PATCH] fix upload path --- weed/server/filer_server_handlers_write.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/server/filer_server_handlers_write.go b/weed/server/filer_server_handlers_write.go index 416a7434c..98c20e0bf 100644 --- a/weed/server/filer_server_handlers_write.go +++ b/weed/server/filer_server_handlers_write.go @@ -191,7 +191,7 @@ func (fs *FilerServer) PostHandler(w http.ResponseWriter, r *http.Request) { crTime := time.Now() if err == nil && existingEntry != nil { if existingEntry.IsDirectory() { - path += ret.Name + path += "/" + ret.Name } else { crTime = existingEntry.Crtime }