[PR #4975] [MERGED] feat: allow multiple params with same key to process get request queryparams #5007

Closed
opened 2026-03-17 02:29:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4975
Author: @anwarulislam
Created: 4/9/2025
Status: Merged
Merged: 4/10/2025
Merged by: @jamesgeorge007

Base: patchHead: fix/query-param-array


📝 Commits (4)

  • 98d6d91 feat: allow multiple params with same key to process get request queryparams
  • 2d8b913 ref(common): align name and functionality
  • 7a7b27c chore: resolve conflicts
  • e2cd24b fix: preserve auto encoding behavior

📊 Changes

3 files changed (+31 additions, -25 deletions)

View changed files

📝 packages/hoppscotch-common/src/helpers/functional/filter-active.ts (+11 -4)
📝 packages/hoppscotch-common/src/helpers/functional/process-request.ts (+15 -19)
📝 packages/hoppscotch-common/src/helpers/kernel/rest/request.ts (+5 -2)

📄 Description

Closes HFE-811 #4941

What's changed

This PR addresses the issue where the query parameter array does not function as expected. The current implementation only considers the last value of a parameter when multiple values are provided. This fix aims to ensure that all values in the array are recognized and processed correctly.

  • Not Completed
  • Completed

🔄 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/4975 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 4/9/2025 **Status:** ✅ Merged **Merged:** 4/10/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `fix/query-param-array` --- ### 📝 Commits (4) - [`98d6d91`](https://github.com/hoppscotch/hoppscotch/commit/98d6d911eeb01716073818ca44efb9ec25614513) feat: allow multiple params with same key to process get request queryparams - [`2d8b913`](https://github.com/hoppscotch/hoppscotch/commit/2d8b9136e78b073a71a77cbea0809313215f5f6d) ref(common): align name and functionality - [`7a7b27c`](https://github.com/hoppscotch/hoppscotch/commit/7a7b27c3081c3da12810e3fd5bfc0ae39729ccc9) chore: resolve conflicts - [`e2cd24b`](https://github.com/hoppscotch/hoppscotch/commit/e2cd24be317b23ba5629d129522a56b2e5a27c79) fix: preserve auto encoding behavior ### 📊 Changes **3 files changed** (+31 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/helpers/functional/filter-active.ts` (+11 -4) 📝 `packages/hoppscotch-common/src/helpers/functional/process-request.ts` (+15 -19) 📝 `packages/hoppscotch-common/src/helpers/kernel/rest/request.ts` (+5 -2) </details> ### 📄 Description Closes HFE-811 #4941 ### What's changed This PR addresses the issue where the query parameter array does not function as expected. The current implementation only considers the last value of a parameter when multiple values are provided. This fix aims to ensure that all values in the array are recognized and processed correctly. - [ ] Not Completed - [x] Completed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:29:44 +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#5007
No description provided.