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

Revert #65 #69

Merged
merged 2 commits into from
May 23, 2019
Merged

Revert #65 #69

merged 2 commits into from
May 23, 2019

Conversation

wwsean08
Copy link
Contributor

This should fix the RawPostDataException reported in #67 caused by #65. This does come at the expense of a bit more memory usage because we store off the body. I tested against the thest case provided by @therefromhere and am no longer getting the error (though I am getting a stacktrace because of a missing template).

@wwsean08 wwsean08 changed the title Store off the request body to prevent django.http.request.RawPostDataException WIP: Store off the request body to prevent django.http.request.RawPostDataException May 23, 2019
@wwsean08
Copy link
Contributor Author

wwsean08 commented May 23, 2019

This isn't quite working yet, I've regressed to where it's not honoring the sensitive_post_parameters I've realized after a bit more testing

@wwsean08 wwsean08 changed the title WIP: Store off the request body to prevent django.http.request.RawPostDataException Revert #65 May 23, 2019
@wwsean08
Copy link
Contributor Author

Reverting #65 because I don't think I have a good way of solving both issues, I'll investigate this another time but for now a revert seems like a better choice.

@tclancy tclancy merged commit 177729e into Rhumbix:master May 23, 2019
@tclancy
Copy link
Contributor

tclancy commented May 23, 2019

That works. I'm guessing you could simply seek(0) at the end of the processing but that feels like a hack/ non-performant. Thanks.

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