Closed drgrice1 closed 2 months ago
I'll check this out soon and see. But about this:
This seems to only occur when proxying hypnotoad in some way or another.
My servers are using hypnotoad with no proxying.
Your load balancer counts as a proxy. It is technically not a proxy, but I believe it is causing the same issue.
It seems that if the problem rendering request does not complete before the request to save the temporary file is sent, the streams can get crossed. We all know how bad that is!
This seems to only occur when proxying hypnotoad in some way or another. Somehow hypnotoad manages to keep the streams straight when proxying is not involved.
This is really not specific to the "Check Answers" button, but could occur with any of the submit buttons in the problem.
Also, don't add the
passwd
andkey
to the form when rendering via therender_rpc
endpoint unless cookies are disabled for the request, and in the case thatsession_management_via
is "session_cookie" don't add the key to the form.This fixes issue #2394.