forked from TrueCloudLab/rclone
rcserver: remove _async key from input parameters after parsing so later operations won't get confused - fixes #3346
This commit is contained in:
parent
def790986c
commit
19ae053168
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue