fix(@angular/ssr): enforce explicit opt-in for proxy headers
This commit introduces a secure-by-default model for trusting proxy headers (`X-Forwarded-*`) in the `@angular/ssr` package. Previously, the engine relied on complex lazy header patching and regex filters to guard against spoofed headers. However, implicit decoding behaviors by URL constructors can render naive regex filtering ineffective against certain percent-encoded payloads.
A
Alan Agius committed
5adc92541433be23fc2246db5a199cf5c0dc9e67
Parent: 48eab1f
Committed by GitHub <noreply@github.com>
on 4/24/2026, 8:07:51 AM