Provide access to original unparsed path
As discussed in expressjs/express#4084 there is a need for original path on req object.
Example:
router.get("/user/:id", (req, res, next) => { console.log(req.originalUnparsedPath); // => "/user/:id" next(); });
originalUnparsedPath is just an example, but the name would be something along the lines.