Description
I think it would make sense to throw an error when the path is undefined in res.redirect. The current behavior redirects to /undefined, which I wouldn't consider very intuitive.
This functionality would be a breaking change, so it could be a candidate for Express 6. What do you all think?