From 8d789ce24d8b83dfb950c231b880acb3c4949a64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sw=C3=A4rd?= Date: Tue, 18 Apr 2023 13:47:21 +0200 Subject: [PATCH] graph: Try to fix problems with unescaping values. --- services/graph/pkg/service/v0/graph.go | 1 + 1 file changed, 1 insertion(+) diff --git a/services/graph/pkg/service/v0/graph.go b/services/graph/pkg/service/v0/graph.go index d5bd379b3..e43214aac 100644 --- a/services/graph/pkg/service/v0/graph.go +++ b/services/graph/pkg/service/v0/graph.go @@ -76,6 +76,7 @@ type Graph struct { // ServeHTTP implements the Service interface. func (g Graph) ServeHTTP(w http.ResponseWriter, r *http.Request) { + r.URL.RawPath = r.URL.EscapedPath() g.mux.ServeHTTP(w, r) }