mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #2067] [MERGED] fix: multipart form data sorting #3616
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#3616
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:fix/multipart-form-data-files-after-map📝 Commits (4)
defdaf6fix: multipart form data sorting2f888eeMerge branch 'main' into fix/multipart-form-data-files-after-mapf8c130cMerge branch 'main' of https://github.com/hoppscotch/hoppscotch into fix/multipart-form-data-files-after-mapeb3877arefactor: fp-ify formdata file sort implementation📊 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
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.