Skip to content

missing beforeRedirect requestDetails argument #6442

@davecardwell

Description

@davecardwell

Describe the bug

When attempting to upgrade from v0.27.2 to v1.67.0 we found that there has been a regression and Axios is no longer passing through the third requestDetails argument to the beforeRedirect(…) function.

The similar response headers regression was reported in #5365 and fixed in #5778, but the request headers are still missing.

To Reproduce

Run the updated test in #6241 on main and see that it errors.

Code snippet

No response

Expected behavior

This is a regression from the previous behavior of Axios. I expect it to pass through the third beforeRedirect argument in the latest version, as it used to.

Axios Version

1.67.0

Adapter Version

No response

Browser

No response

Browser Version

No response

Node.js Version

No response

OS

No response

Additional Library Versions

No response

Additional context/Screenshots

Fixed in #6241

Metadata

Metadata

Assignees

Labels

issue::bugThis issue is related to a bug that requires fixing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions