Skip to content

Conversation

@iuioiua
Copy link
Contributor

@iuioiua iuioiua commented Apr 11, 2020

This fixes the issue whereby if request.url is modified in a plugin for an agent (eg. superagent-prefix), cookies are not preserved across different requests, using that agent (see issue #1164).

This is fixed by simply executing agent._attachCookies() after agent._setDefaults().

Note: this is my first pull request ever.

@niftylettuce niftylettuce merged commit 4babc5d into forwardemail:master Jun 28, 2020
@niftylettuce
Copy link
Collaborator

v5.3.0 published to npm and GitHub releases page with changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants