Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing write of data during redirect? #4

Open
pbelbin opened this issue Jun 24, 2020 · 0 comments
Open

Missing write of data during redirect? #4

pbelbin opened this issue Jun 24, 2020 · 0 comments

Comments

@pbelbin
Copy link

pbelbin commented Jun 24, 2020

For the async initial case, between the doRequest and request.end there is a conditional .write(data). XMLHttpRequest.ts:649 - 656

However, when there is a redirect, and a new doRequest is sent, it appears that the conditional .write(data) is absent before the request.end. XMLHttpRequest.ts:612-613

So it seems that if the data is needed, and it's a redirect scenario, that this will not pass the intended payload data.

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

No branches or pull requests

1 participant