mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
3412535be4
* fix: don't include port twice from x-forwarded-host and x-forwarded-port headers * add changeset * add test for port both in forwarded host and forwarded port * don't include port if undefined * Update .changeset/forty-wolves-turn.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
5 lines
191 B
Markdown
5 lines
191 B
Markdown
---
|
|
"astro": patch
|
|
---
|
|
|
|
Fixes a case where the local server would crash when the host also contained the port, eg. with `X-Forwarded-Host: hostname:8080` and `X-Forwarded-Port: 8080` headers
|