This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 87
2.5.1 broke POST upload file #147
Comments
Hmm, I'll have to check it out. In the meantime, if you want to help speed a fix along, submitting a PR with a failing test case will really help me get this done quickly! |
Same Err, but because multipart/form-data; now not default With opts: Post request shuld has ContentType: multipart/form-data; boundary=--- {some boundary}, I think this is -> #144 |
@lifeart correct - the fix is on master |
@jrowlingson @lifeart So cutting a new 2.5.2 release is all we need? That's an easy fix 😉 |
kevinansfield
added a commit
to kevinansfield/Ghost-Admin
that referenced
this issue
Oct 3, 2016
no issue - pin `ember-ajax` on a version that contains related fixes (ember-cli/ember-ajax#147) - update our `ajax` service so that it defaults to `application/json` content-type rather than forcing it
acburdine
pushed a commit
to TryGhost/Admin
that referenced
this issue
Oct 3, 2016
no issue - pin `ember-ajax` on a version that contains related fixes (ember-cli/ember-ajax#147) - update our `ajax` service so that it defaults to `application/json` content-type rather than forcing it
2.5.2 is released, and I can verify that it's resolved the issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Upgraded to latest ember 2.7 and ember-ajax to 2.5.1.
Immediately the file upload is not working anymore.
Error message seen in the console was missing 'Access-Control-Allow-Origin'.
Checked with previous version and sure enough 'Access-Control-Allow-Origin' was sent out in the request header but not in the latest 2.5.1.
Is there a config change to contentType that effects the missing 'Access-Control-Allow-Origin'?
We were using 'multipart/form' and the latest version doesn't seems to support multipart/form?
The text was updated successfully, but these errors were encountered: