Merge branch '15836-slash-in-collection-name'
[arvados.git] / services / keep-web / handler.go
index bbbbd8f97bfce63a0e22da02cc5fbe32a1e5794e..563a59df014b8f642b545a68bc23f2e72e1a57d1 100644 (file)
@@ -537,6 +537,7 @@ func (h *handler) serveSiteFS(w http.ResponseWriter, r *http.Request, tokens []s
                Insecure:  arv.ApiInsecure,
        }).WithRequestID(r.Header.Get("X-Request-Id"))
        fs := client.SiteFileSystem(kc)
+       fs.ForwardSlashNameSubstitution(h.Config.cluster.Collections.ForwardSlashNameSubstitution)
        f, err := fs.Open(r.URL.Path)
        if os.IsNotExist(err) {
                http.Error(w, err.Error(), http.StatusNotFound)