ladjs / superagent

Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
https://ladjs.github.io/superagent/
MIT License
16.56k stars 1.33k forks source link

Send cookies to allowed domains #1757

Closed ShiraNagen closed 1 year ago

ShiraNagen commented 1 year ago

Currently, superagent.agent() sends cookies to all requests without checking if the domains match the cookies and are allowed to use them. This pull request solves this issue https://github.com/ladjs/superagent/issues/1758.

Checklist

titanism commented 1 year ago

v8.0.8 released

https://github.com/ladjs/superagent/releases/tag/v8.0.8

titanism commented 1 year ago

thank you for your contributions @ShiraNagen 👏 🎉