graph: Try to fix problems with unescaping values.

This commit is contained in:
Daniel Swärd
2023-04-18 13:47:21 +02:00
parent 53419c9f2b
commit 8d789ce24d

View File

@@ -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)
}