2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-24 14:04:14 +03:00

fix(security): fixed security vulnerability in follow-redirects (#6163)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Guy Nesher
2024-01-03 19:32:50 +00:00
committed by GitHub
parent 90864b3a3f
commit 75af1cdff5
3 changed files with 10 additions and 10 deletions
+7 -7
View File
@@ -9,7 +9,7 @@
"version": "1.6.3",
"license": "MIT",
"dependencies": {
"follow-redirects": "^1.15.0",
"follow-redirects": "^1.15.4",
"form-data": "^4.0.0",
"proxy-from-env": "^1.1.0"
},
@@ -10689,9 +10689,9 @@
}
},
"node_modules/follow-redirects": {
"version": "1.15.0",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.0.tgz",
"integrity": "sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==",
"version": "1.15.4",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz",
"integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==",
"funding": [
{
"type": "individual",
@@ -32501,9 +32501,9 @@
}
},
"follow-redirects": {
"version": "1.15.0",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.0.tgz",
"integrity": "sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ=="
"version": "1.15.4",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz",
"integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw=="
},
"for-in": {
"version": "1.0.2",
+2 -2
View File
@@ -146,7 +146,7 @@
"unpkg": "dist/axios.min.js",
"typings": "./index.d.ts",
"dependencies": {
"follow-redirects": "^1.15.0",
"follow-redirects": "^1.15.4",
"form-data": "^4.0.0",
"proxy-from-env": "^1.1.0"
},
@@ -215,4 +215,4 @@
"@commitlint/config-conventional"
]
}
}
}
+1 -1
View File
@@ -385,7 +385,7 @@ describe('supports http with nodejs', function () {
}
}
}).catch(function (error) {
assert.equal(error.message, 'Provided path is not allowed');
assert.equal(error.message, 'Redirected request failed: Provided path is not allowed');
done();
}).catch(done);
});