X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c3b26754a231ec909506f2ff28af1af9f2e27f2b..2ea729f97166cb5fda4a6ca0818f0a0ab15388ab:/lib/controller/fed_generic.go diff --git a/lib/controller/fed_generic.go b/lib/controller/fed_generic.go index 6c8135cf91..9c8b1614bc 100644 --- a/lib/controller/fed_generic.go +++ b/lib/controller/fed_generic.go @@ -295,8 +295,13 @@ func (h *genericFederatedRequestHandler) ServeHTTP(w http.ResponseWriter, req *h return } + var uuid string + if len(m[1]) > 0 { + // trim leading slash + uuid = m[1][1:] + } for _, d := range h.delegates { - if d(h, effectiveMethod, &clusterId, m[1], m[3], w, req) { + if d(h, effectiveMethod, &clusterId, uuid, m[3], w, req) { return } }