Skip to content

Commit

Permalink
fix(security): fixed security vulnerability in follow-redirects (#6163)
Browse files Browse the repository at this point in the history
Co-authored-by: Jay <jasonsaayman@gmail.com>
  • Loading branch information
gnesher and jasonsaayman committed Jan 3, 2024
1 parent 90864b3 commit 75af1cd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -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"
},
Expand Down Expand Up @@ -215,4 +215,4 @@
"@commitlint/config-conventional"
]
}
}
}
2 changes: 1 addition & 1 deletion test/unit/adapters/http.js
Expand Up @@ -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);
});
Expand Down

0 comments on commit 75af1cd

Please sign in to comment.