mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
cd771d3712
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.
13 KiB
13 KiB