-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ignore everything after closing boundary when parsing multi form…
… data (#2862) * add working test case * break test * wip * fix bug * make boundaryMatches val * revert buffer to ChunkBuilder * buffer is val * fmt * fmt * Update zio-http/shared/src/main/scala/zio/http/internal/FormState.scala Co-authored-by: kyri-petrou <67301607+kyri-petrou@users.noreply.github.com> * Extract closingBoundaryBytesSize and reset boundaryMatches with a new Array[Boolean](closingBoundaryBytesSize) * Update zio-http/shared/src/main/scala/zio/http/internal/FormState.scala Co-authored-by: kyri-petrou <67301607+kyri-petrou@users.noreply.github.com> * Replace Array[Boolean] with single boolean --------- Co-authored-by: kyri-petrou <67301607+kyri-petrou@users.noreply.github.com>
- Loading branch information
1 parent
abdaf0b
commit 68a7abe
Showing
2 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters