mirror of
https://github.com/tenrok/axios.git
synced 2026-06-05 16:42:32 +03:00
fix(security): fixed security vulnerability in follow-redirects (#6163)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user