Skip to content

Additional work for #487 #523

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/workerd/api/form-data.c++
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ void FormData::forEach(
// it up. Using the classic for (;;) syntax here allows for that. However, this does
// mean that it's possible for a user to trigger an infinite loop here if new items
// are added to the search params unconditionally on each iteration.
for (int i = 0; i < this->data.size(); i++) {
for (size_t i = 0; i < this->data.size(); i++) {
auto& [key, value] = this->data[i];
static constexpr auto ARG_COUNT = 3;

Expand Down