Skip to content

Update sendRequest for axios to align on parameter deprecation (withCredentials) #2063

Closed
@evgarthub

Description

@evgarthub

Hi @ferdikoomen!

Axios fixed vulnerability related to withCredentials request parameter by introducing new parameter withXSRFToken, details here:
axios/axios#6046
GHSA-wf5p-g6vw-rhxx

Does it make sense to include new parameter next to withCredentials as author suggests?

We verified internally that indeed passing both parameters with true value prevents client from behaving differently after axios update.
image

I will quickly create PR for it, let me know if it does make sense?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions