Jake B.
Well-known member
- Affected version
- 2.1.10
I've got an example route with the following:
It works fine for routing something like:
However, it isn't able to route
Code:
Route Prefix: thtest
Sub-name: sessions/
Route format: sessions/:+str<session_id>/
Controller: ThemeHouse\Test:Session
It works fine for routing something like:
GET /api/thtest/sessions/abc123/test
However, it isn't able to route
GET /api/thtest/sessions/abc123
for some reason. Looks to be an issue with the regex that gets generated in \XF\Mvc\Router::generateMatchRegexInner