cloudflare / cloudflare/workers-sdk

🐛 Bug Report — Runtime APIs: Get an incorrect Location param when using Response.redirect

Open
#5,221 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.5k
Forks
1.5k
Avg merge
3d 8h
Merged PRs (30d)
186

Description

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'm sure it's not the browser's behavior.

wrangler version: `^3.32.0`

### Example

![image](https://github.com/cloudflare/workerd/assets/19600972/1dbdfebf-672f-43e8-88e0-f369387c76fd)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.