-
Notifications
You must be signed in to change notification settings - Fork 203
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
Fixes #994. Better handle 413 errors when uploading an image. #1016
Conversation
(Redirecting review to Adam, I think @magsout is swamped at work right now -- no issues ❤️ ) r? @adamopenweb |
OK, now that #1018 is in will fix the merge conflicts. |
Also test that img_too_big isn't true before re-enabling submits.
Also, make sure z-index is higher than the image preview.
Alright, rebased and fixed conflicts (and just manually tested again). when travis is green, can you take a look @adamopenweb? |
@@ -284,7 +299,7 @@ function BugForm() { | |||
}; | |||
|
|||
this.addPreviewBackground = function(dataURI) { | |||
if (!_.startsWith(dataURI, 'data:image/png;base64')) { | |||
if (!_.startsWith(dataURI, 'data:image/')) { |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
lgtm 👍 r+ ? sorry for the daly .. |
But you ask @adamopenweb so maybe let him do the review ? |
No worries about the delay @magsout! |
I'm gonna go ahead and merge, I think @adamopenweb was waiting on me to fix merge conflict junk before reviewing -- then I can do a deploy. |
This PR has 3 related changes:
r? @magsout