Version
4.2.0
Test Case
https://codesandbox.io/s/p51on3mxlx
Steps to reproduce
Something like this
<Redirect from="/topics/:id" to="/topic/:id" />
Expected Behavior
Redirect from like /topics/1 to /topic/1 as it is described in official docs: https://reacttraining.com/react-router/web/api/Redirect/from-string
Actual Behavior
Ignoring matched params and redirecting from /topics/1 to /topic/:id