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

Uses redirectexit and fixes #3798 #3799

Conversation

colinschoen
Copy link
Contributor

Use redirectexit instead of manually changing headers. Fixes #3798

@jdarwood007

Signed-off-by: Colin Schoen <cschoen@berkeley.edu>
Signed-off-by: Colin Schoen <cschoen@berkeley.edu>
@colinschoen
Copy link
Contributor Author

Fixing indentation, one moment...

Signed-off-by: Colin Schoen <cschoen@berkeley.edu>
Copy link
Contributor

@live627 live627 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redirectexit() calls obExit(), and the both of them combined are laced with arsenic and eat the image alive.

@colinschoen
Copy link
Contributor Author

colinschoen commented Jan 5, 2017

Working locally. What goes wrong when using them?

@live627
Copy link
Contributor

live627 commented Jan 5, 2017

iDunno

  • Delete the image, refresh page
  • use image larger than threshold

@colinschoen
Copy link
Contributor Author

Image larger than threshold is working. I'll try the other tomorrow

@colinschoen
Copy link
Contributor Author

colinschoen commented Jan 5, 2017

Deleting the image and refreshing the page is also working when checking out this PR locally. Not able to replicate any issues. @live627

@colinschoen
Copy link
Contributor Author

iuemzpzeg7

Copy link
Contributor

@live627 live627 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Derp. I was testing against the wrong version.

@colinschoen
Copy link
Contributor Author

No worries. Thanks for reviewing.

@colinschoen colinschoen merged commit 6812c1b into SimpleMachines:release-2.1 Jan 6, 2017
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