cloudflare / cloudflare/workerd

Consuming empty FormData as text mistakenly returns the boundary value

Open
#4,967 0 comments 0 reactions 1 assignee Claimed by @jasnell View on GitHub
wpt-conformance
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

This is covered by two separate WPT tests:
- request/request-consume-empty.any.js (Consume empty FormData request body as text)
- response/response-consume-empty.any.js (Consume empty FormData response body as text)

Instead of returning an empty string, we're instead returning the FormData object's boundary value, e.g. `--f24d463f4e75847bd55cc309d9f28b99--`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.