From 5891a0d078d678d791359bf71f56f6ecaa6fe5bf Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Wed, 7 Nov 2018 10:52:08 +0000 Subject: [PATCH] Add trailing slash at the end of the route for parity with synapse --- .../matrix-org/dendrite/federationapi/routing/routing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/federationapi/routing/routing.go b/src/github.com/matrix-org/dendrite/federationapi/routing/routing.go index 2667f4b30..24812f220 100644 --- a/src/github.com/matrix-org/dendrite/federationapi/routing/routing.go +++ b/src/github.com/matrix-org/dendrite/federationapi/routing/routing.go @@ -220,7 +220,7 @@ func Setup( }, )).Methods(http.MethodGet) - v1fedmux.Handle("/backfill/{roomID}", common.MakeFedAPI( + v1fedmux.Handle("/backfill/{roomID}/", common.MakeFedAPI( "federation_backfill", cfg.Matrix.ServerName, keys, func(httpReq *http.Request, request *gomatrixserverlib.FederationRequest) util.JSONResponse { vars := mux.Vars(httpReq)