Similar to this pull request: #496
This instead emits an event which includes a function that allows altering the redirect.
why do you need (redirect, updateRedirect), why can't you just mutate the url of the request object? if we encourage that path then it's obvious how people could also manipulate headers and other options on redirect.
Added redirect event
True, I moved the event to right before it calls init so everything is set up for the next request at that point and removed the additional data.