You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mcollina under what conditions does req.url get modified? For example, express and sails modify req.url if there's an internal routing. Does fastify do the same?
Activity
mcollina commentedon May 3, 2023
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.
aarontravass commentedon May 14, 2023
How about adding
originalUrlin the existingFastifyRequestinstead?mcollina commentedon May 15, 2023
That'd likely be better.
aarontravass commentedon May 15, 2023
Alright. I'll give it a try.
aarontravass commentedon May 15, 2023
@mcollina under what conditions does
req.urlget modified? For example, express and sails modifyreq.urlif there's an internal routing. Does fastify do the same?mcollina commentedon May 16, 2023
https://www.fastify.io/docs/latest/Reference/Server/#rewriteurl
feat: added originalUrl in request object fastify#4704
feat: added originalUrl in request object #4704 (#4758)