Files
SkyZeroZx 06be298267 fix(http): preserve empty referrer option in HttpRequest
Preserve referrer: '' when constructing and cloning HttpRequest.

An empty string is a valid Fetch referrer value and is documented by

Angular as the way to omit referrer information for sensitive requests.

The previous truthy checks treated it as if the option was not provided,

causing requests to fall back to the browser default referrer behavior.

(cherry picked from commit 1e54b8f5ec)
2026-06-08 15:41:49 -07:00

11 KiB