[PR #2067] [MERGED] fix: multipart form data sorting #3616

Closed
opened 2026-03-17 01:13:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2067
Author: @kyteinsky
Created: 1/17/2022
Status: Merged
Merged: 1/22/2022
Merged by: @AndrewBastin

Base: mainHead: fix/multipart-form-data-files-after-map


📝 Commits (4)

📊 Changes

3 files changed (+83 additions, -19 deletions)

View changed files

packages/hoppscotch-app/helpers/functional/array.ts (+41 -0)
packages/hoppscotch-app/helpers/functional/formData.ts (+12 -0)
📝 packages/hoppscotch-app/helpers/utils/EffectiveURL.ts (+30 -19)

📄 Description

Closes #1833

Description

It places all the file type values in multipart form data body in the last to avoid errors due to map key being placed after file type values

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information

Thank you @AndrewBastin for helping me out there.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2067 **Author:** [@kyteinsky](https://github.com/kyteinsky) **Created:** 1/17/2022 **Status:** ✅ Merged **Merged:** 1/22/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `fix/multipart-form-data-files-after-map` --- ### 📝 Commits (4) - [`defdaf6`](https://github.com/hoppscotch/hoppscotch/commit/defdaf6ee6bce51afc33cc07dad6d04656dbeede) fix: multipart form data sorting - [`2f888ee`](https://github.com/hoppscotch/hoppscotch/commit/2f888ee121c10f9c066bf80f391729af0be1fbb1) Merge branch 'main' into fix/multipart-form-data-files-after-map - [`f8c130c`](https://github.com/hoppscotch/hoppscotch/commit/f8c130cc1d1ddea0aacca18ca1f7ceec60017463) Merge branch 'main' of https://github.com/hoppscotch/hoppscotch into fix/multipart-form-data-files-after-map - [`eb3877a`](https://github.com/hoppscotch/hoppscotch/commit/eb3877a81fbd2a59f1cdc9dec600b96f36aef330) refactor: fp-ify formdata file sort implementation ### 📊 Changes **3 files changed** (+83 additions, -19 deletions) <details> <summary>View changed files</summary> ➕ `packages/hoppscotch-app/helpers/functional/array.ts` (+41 -0) ➕ `packages/hoppscotch-app/helpers/functional/formData.ts` (+12 -0) 📝 `packages/hoppscotch-app/helpers/utils/EffectiveURL.ts` (+30 -19) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes #1833 ### Description <!-- Add a brief description of the pull request --> It places all the file type values in multipart form data body in the last to avoid errors due to map key being placed after file type values <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behavior, etc. --> Thank you @AndrewBastin for helping me out there. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:13:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#3616
No description provided.