rcserver: remove _async key from input parameters after parsing so later operations won't get confused - fixes #3346

This commit is contained in:
buengese 2019-07-20 18:12:40 +02:00
parent def790986c
commit 19ae053168
1 changed files with 2 additions and 0 deletions

View File

@ -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 {