strip_any_host_port in HCM also strip port number in redirected/rewritten URL
Open
area/http
bug
no stalebot
- Dominant language
- C++
- Stars
- 28.9k
- Forks
- 5.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 437
Description
*Title*: strip_any_host_port in HCM also strip port number in redirected URL
*Description*: I'd think this is a bug: when we configure strip_any_host_port in HCM, the port number is stripped from :host.
when it's a URL redirect, this setting removes the port number from the redirected URL as well.
*Repro steps*:
sets strip_any_host_port to true in HCM, sets a path-only-redirect route, and the returned redirection points to a URL that's not working(no service listening on default port)..
Contributor guide
Assessment
This issue has not been assessed yet.