\XF\Mvc\Router::addRoute does not work properly when using subSection

Kirby

Well-known member
Affected version
2.3.7
When adding a route to a prefix that already has a route with an empty subSection defined, \XF\Mvc\Router::addRoute adds the new route after the empty subsection route which in turn causes routeToController to match this route instead of the added route.
 
Back
Top Bottom