Sahil Singh

Results 3 comments of Sahil Singh

Hi maintainers 👋 This PR adds a small safety improvement to res.location() to prevent encodeUrl() from throwing on non-string input. Happy to update anything if needed. Thanks for reviewing!

> So now invalid inputs will be quietly ignored without a trace? That doesn't sound like a good idea. While I understand that getting errors is annoying, it is much...

Thanks for the feedback — the previous version was too strict and didn't match existing Express behavior. I've updated `res.location()` to: - accept URL instances, - coerce all non-string inputs...