From 19ae053168ce9611f591f0a0aed26731a08082d0 Mon Sep 17 00:00:00 2001 From: buengese Date: Sat, 20 Jul 2019 18:12:40 +0200 Subject: [PATCH] rcserver: remove _async key from input parameters after parsing so later operations won't get confused - fixes #3346 --- fs/rc/rcserver/rcserver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/rc/rcserver/rcserver.go b/fs/rc/rcserver/rcserver.go index c51a1fc75..1a33be81a 100644 --- a/fs/rc/rcserver/rcserver.go +++ b/fs/rc/rcserver/rcserver.go @@ -182,6 +182,8 @@ func (s *Server) handlePost(w http.ResponseWriter, r *http.Request, path string) return } + delete(in, "_async") // remove the async parameter after parsing so vfs operations don't get confused + fs.Debugf(nil, "rc: %q: with parameters %+v", path, in) var out rc.Params if isAsync {