Skip to content
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

Request body ReadableStream chunks are not validated #10988

Open
lucacasonato opened this issue Jun 15, 2021 · 1 comment
Open

Request body ReadableStream chunks are not validated #10988

lucacasonato opened this issue Jun 15, 2021 · 1 comment
Labels
bug Something isn't working correctly ext/fetch related to the ext/fetch web related to Web APIs

Comments

@lucacasonato
Copy link
Member

When reading the readable stream, we should validate that all chunks are of type Uint8Array. See https://fetch.spec.whatwg.org/#incrementally-read-loop and https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes.

@lucacasonato lucacasonato added bug Something isn't working correctly web related to Web APIs ext/fetch related to the ext/fetch labels Jun 15, 2021
@lucacasonato
Copy link
Member Author

Blocked on upstream spec decision because of full duplex streaming: whatwg/fetch#1254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly ext/fetch related to the ext/fetch web related to Web APIs
Projects
None yet
Development

No branches or pull requests

1 participant