Use redirectexit instead of manually changing headers. Fixes #3798
Use redirectexit instead of manually updating header
Signed-off-by: Colin Schoen <email@example.com>
Fixing indentation, one moment...
redirectexit() calls obExit(), and the both of them combined are laced with arsenic and eat the image alive.
Working locally. What goes wrong when using them?
Image larger than threshold is working. I'll try the other tomorrow
Deleting the image and refreshing the page is also working when checking out this PR locally. Not able to replicate any issues. @live627
Derp. I was testing against the wrong version.
No worries. Thanks for reviewing.