Currently, router::handle_requests() modifies the requests target without re-parsing the request's uri object.
This means that sub-routers can correctly select the appropriate handler but the handlers themselves will receive an uri object where the resource points to the original, unmodified resource.
The uri object needs to be reparsed to fix this.
Currently,
router::handle_requests()
modifies the requests target without re-parsing the request'suri
object. This means that sub-routers can correctly select the appropriate handler but the handlers themselves will receive anuri
object where the resource points to the original, unmodified resource. Theuri
object needs to be reparsed to fix this.