| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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.
Normalize value-specific HttpHeaders deletions before filtering. The string overload previously used String#indexOf and removed shorter values contained within the requested deletion value, potentially widening outgoing request metadata. Preserve delete-all behavior only when no value is supplied, and cover string, array, and empty-string deletion.
Represent withRequestsMadeViaParent() with an internal delegating backend so the interceptor handler can distinguish delegated clients from independent child configurations.
|
This PR was merged into the repository. The changes were merged into the following branches:
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Backport of #69778 and #69762
Note : This seems similar to GHSA-q6f4-qqrg-jv6x