RSS Feed/News \XF\Mvc\Router::addRoute does not work properly when using subSection

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
29,889
Points
823

Reputation:

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.

Continue reading...
 
Status
Not open for further replies.
Top