mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -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>
191 B
191 B
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