withastro
astro
BlogDocsChangelog

Handle bad values in x-forwarded-host

#13428Merged
Comparing
url-bad-header
(
b9fbf1e
) with
main
(
1a93637
)
CodSpeed Performance Gauge
0%
Untouched
6

Benchmarks

Passed

Rendering: streaming [true], .mdx file
benchmark/bench/codspeed.bench.js::Bench rendering
CodSpeed Performance Gauge
0%
720.6 ms719.5 ms
Rendering: streaming [true], .astro file
benchmark/bench/codspeed.bench.js::Bench rendering
CodSpeed Performance Gauge
0%
936.2 ms934.9 ms
Rendering: streaming [false], .astro file
benchmark/bench/codspeed.bench.js::Bench rendering
CodSpeed Performance Gauge
0%
919.2 ms918.2 ms
Rendering: streaming [true], .md file
benchmark/bench/codspeed.bench.js::Bench rendering
CodSpeed Performance Gauge
0%
12.8 ms12.8 ms
Rendering: streaming [false], .md file
benchmark/bench/codspeed.bench.js::Bench rendering
CodSpeed Performance Gauge
0%
12.8 ms12.8 ms
Rendering: streaming [false], .mdx file
benchmark/bench/codspeed.bench.js::Bench rendering
CodSpeed Performance Gauge
0%
713 ms714.6 ms

Commits

Click on a commit to change the comparison range
Base
main
1a93637
+0.15%
Handle bad values in x-forwarded-host If a bad value is provide by this header, we simply ignore it and fallback to the host provided by the host header (if there is one).
9014691
8 months ago
by matthewp
-0.1%
Add changeset
496f8b4
8 months ago
by matthewp
-0.02%
Update packages/astro/src/core/app/node.ts Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
b9fbf1e
7 months ago
by ematipico
© 2025 CodSpeed Technology
Home Terms Privacy Docs