From 3bda53720b4b3e2e87ec31f23a088c17461d15c4 Mon Sep 17 00:00:00 2001 From: Russell Jones Date: Tue, 23 Oct 2018 22:39:52 +0000 Subject: [PATCH] Pass site name along in fileTransferRequest. --- lib/web/files.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/web/files.go b/lib/web/files.go index 921f553b3ba06..495b1890c6565 100644 --- a/lib/web/files.go +++ b/lib/web/files.go @@ -49,6 +49,7 @@ type fileTransferRequest struct { func (h *Handler) transferFile(w http.ResponseWriter, r *http.Request, p httprouter.Params, ctx *SessionContext, site reversetunnel.RemoteSite) (interface{}, error) { query := r.URL.Query() req := fileTransferRequest{ + cluster: p.ByName("site"), login: p.ByName("login"), namespace: p.ByName("namespace"), server: p.ByName("server"),