mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix: Upgrade axios to address CVE-2023-45857 (#7713)
[GH Advisory](https://github.com/advisories/GHSA-wf5p-g6vw-rhxx)
This commit is contained in:
committed by
GitHub
parent
8e6b951a76
commit
64eb9bbc36
@@ -324,9 +324,15 @@ export class MessageEventBusDestinationWebhook
|
||||
password: httpBasicAuth.password as string,
|
||||
};
|
||||
} else if (httpHeaderAuth) {
|
||||
this.axiosRequestOptions.headers[httpHeaderAuth.name as string] = httpHeaderAuth.value;
|
||||
this.axiosRequestOptions.headers = {
|
||||
...this.axiosRequestOptions.headers,
|
||||
[httpHeaderAuth.name as string]: httpHeaderAuth.value as string,
|
||||
};
|
||||
} else if (httpQueryAuth) {
|
||||
this.axiosRequestOptions.params[httpQueryAuth.name as string] = httpQueryAuth.value;
|
||||
this.axiosRequestOptions.params = {
|
||||
...this.axiosRequestOptions.params,
|
||||
[httpQueryAuth.name as string]: httpQueryAuth.value as string,
|
||||
};
|
||||
} else if (httpDigestAuth) {
|
||||
this.axiosRequestOptions.auth = {
|
||||
username: httpDigestAuth.user as string,
|
||||
|
||||
Reference in New Issue
Block a user