Got an incorrect Location header when using Response.redirect()

When I use wrangler dev --host localhost:3343 for local development, I want to get a redirect response

But my port number was mishandled and I can’t get the redirect address I’m hoping for.

I think it’s a bug.