Closed HRogge closed 1 year ago
mux/Router.GetRoutes() leaks access to the (lock-protected) internal map of the router. Clone the map before returning it to the user.
Thx for contribution :).
mux/Router.GetRoutes() leaks access to the (lock-protected) internal map of the router. Clone the map before returning it to the user.