From b44772e072a1351488a35bc284cc9060f030b98e Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 17 Jul 2019 16:09:55 +0100 Subject: [PATCH] Remove trailing slash from /backfill/{roomID} --- federationapi/routing/routing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/federationapi/routing/routing.go b/federationapi/routing/routing.go index 5360bbe85..ed32c8904 100644 --- a/federationapi/routing/routing.go +++ b/federationapi/routing/routing.go @@ -260,7 +260,7 @@ func Setup( }, )).Methods(http.MethodPost) - 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, err := common.URLDecodeMapValues(mux.Vars(httpReq))