You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't get this running on RunKit because it's a Node environment, where my issue is in the browser using the native FormData vs the form-data npm package. However, the code below can be used (making a dummy request to /api) that would demonstrate the difference in request handing between the two affected versions.
Describe the bug
Form uploads appear to have broken between v0.26 and v0.27. Requests that used to work without issue no longer work.
Here is sample code that accepts a file and attempts to upload it to Cloudinary using form data.
Inspecting the v0.26 request in with Chrome shows that it at least understands the content provided:
Inspecting the v0.27 request in Chrome it appears to show more raw data - as if the form data wasn't handled correctly and is corrupted.
I've attempted to use the alternate FormData syntax for v0.27 as suggested in the documentation but I have the same issue.
To Reproduce
I couldn't get this running on RunKit because it's a Node environment, where my issue is in the browser using the native FormData vs the
form-data
npm package. However, the code below can be used (making a dummy request to/api
) that would demonstrate the difference in request handing between the two affected versions.Expected behavior
I would have expected the request with form data that worked in v0.26 to continue to work in v0.27 without issue.
Environment
Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
The text was updated successfully, but these errors were encountered: