mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
58d8a125bf
* fix(http): preserve basic auth on same-origin redirects (#6929) * docs(http): address redirect auth review nits --------- Co-authored-by: Jason Saayman <jasonsaayman@gmail.com>
1.7 KiB
1.7 KiB
Pre-Release Changelog
Unreleased
New Features
- HTTP Adapter - Zstandard: Added automatic zstd decompression on Node.js versions that support it.
zstdis only advertised in the defaultAccept-Encodingheader whentransitional.advertiseZstdAcceptEncoding: trueis set. (#6792)
Bug Fixes
- AxiosHeaders: Silently skip empty response header names emitted by some React Native Android responses instead of throwing. (#6959, #10875)
- HTTP Adapter - Auth on Redirect: HTTP Basic credentials supplied via
config.authare now restored on same-origin redirects, fixing a regression caused byfollow-redirects>= 1.15.8 that brokePOSTrequests answered with a 303 Location. Cross-origin redirects continue to drop credentials, preserving the existing T-R2 mitigation inTHREATMODEL.md. (#6929) - HTTP Adapter - Socket Path: Ignore inherited
socketPathandallowedSocketPathsconfig values when building Node.js requests, preventing prototype-pollution SSRF via Unix sockets. (#10901) - React Native FormData: Clear the default
Content-Typeheader for React NativeFormDatarequests so Android can build multipart bodies with the correct boundary. (#10898) - Request Data: Preserve enumerable symbol keys when merging plain request data before
transformRequest. (#6392)
Release Documentation TODO
- Update
README.mdrequest config docs fortransitional.advertiseZstdAcceptEncodingand zstd decompression support. - Update
docs/pages/advanced/request-config.mdfortransitional.advertiseZstdAcceptEncodingand zstd decompression support. - Update decompression-bomb security guidance in
README.mdanddocs/pages/misc/security.mdto mention zstd.