mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #2606] [MERGED] fix: form data with same key send only last one #3933
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#3933
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/2606
Author: @nivedin
Created: 8/22/2022
Status: ✅ Merged
Merged: 8/22/2022
Merged by: @AndrewBastin
Base:
main← Head:fix/form-data-send-last-one📝 Commits (4)
f280a45fix: form data with same key send only last one53cea4crefactor: improve code syntaxdb27ac8chore: rename to tupleWithSameKeysToRecordd7fbcd2chore: add reasons for as assertions📊 Changes
2 files changed (+75 additions, -20 deletions)
View changed files
📝
packages/hoppscotch-app/helpers/functional/record.ts(+36 -1)📝
packages/hoppscotch-app/helpers/utils/EffectiveURL.ts(+39 -19)📄 Description
Closes #2571
Description
This PR fixes the issue when using
application/x-www-from-urlencodedas content-type to send form data, when you fill in duplicate key names, only the last key was sent.Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
Ctrl/Cmd+Enterto import cURL #4603