mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 18:04:55 +01:00
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
@ -182,6 +182,8 @@ func (s *Server) handlePost(w http.ResponseWriter, r *http.Request, path string)
|
|||||||
return
|
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)
|
fs.Debugf(nil, "rc: %q: with parameters %+v", path, in)
|
||||||
var out rc.Params
|
var out rc.Params
|
||||||
if isAsync {
|
if isAsync {
|
||||||
|
Loading…
Reference in New Issue
Block a user