mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ff02a16749
Prevent lazy HttpHeaders and HttpParams clones from reusing value arrays owned by a materialized source. Append and value-specific delete operations previously mutated those shared arrays, violating the immutable API contract and allowing request metadata to bleed into later requests. Share value arrays until an update mutates a specific header or parameter, then copy only that array. Cover the affected append and delete paths with regression tests that materialize the source first.
9.8 KiB
9.8 KiB