8000 Issue with multipart/form-data using Azure's preset · Issue #3312 · nitrojs/nitro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Issue with multipart/form-data using Azure's preset #3312

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

Open
ThibaultVlacich opened this issue Apr 13, 2025 · 0 comments
Open

Issue with multipart/form-data using Azure's preset #3312

ThibaultVlacich opened this issue Apr 13, 2025 · 0 comments

Comments

@ThibaultVlacich
Copy link
ThibaultVlacich commented Apr 13, 2025

Environment

Azure Function (both v3 and v4)

Reproduction

https://github.com/ThibaultVlacich/nitro-readMultipartFormData-azure-repro

POST request to /api/test

Image

On local:

bun run dev

On Azure Function:

NITRO_PRESET=azure_functions npx nypm@latest run build
cd .output
func start

Notice the fileSize difference between local dev, and Azure Function

Local (file size is correct, and coherent with the file uploaded):
Image

Azure:
Image

Describe the bug

When using the Azure preset, the body seems to be incorrect when using multipart/form-data, and parsing it using the h3 helper returns invalid files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0