[PR #3905] [MERGED] fix: can't import curl command with data-urlencode #4582

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3905
Author: @shipko
Created: 3/18/2024
Status: Merged
Merged: 3/25/2024
Merged by: @jamesgeorge007

Base: release/2024.3.0Head: release/2024.3.0


📝 Commits (5)

  • 7088bdc fix(curl): fix import curl commane with data-urlencode
  • 38b1ee5 fix(curl): add tests
  • 3d06ff6 fix(curl): fix test
  • db4b22f chore: refactor with fp-ts
  • ba8ce82 refactor: use decodeURIComponent for decoding URL encoded data

📊 Changes

2 files changed (+53 additions, -1 deletions)

View changed files

📝 packages/hoppscotch-common/src/helpers/curl/__tests__/curlparser.spec.js (+32 -0)
📝 packages/hoppscotch-common/src/helpers/curl/curlparser.ts (+21 -1)

📄 Description

Closes #3901

Description

  • Not Completed
  • Completed

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

🔄 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/3905 **Author:** [@shipko](https://github.com/shipko) **Created:** 3/18/2024 **Status:** ✅ Merged **Merged:** 3/25/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `release/2024.3.0` ← **Head:** `release/2024.3.0` --- ### 📝 Commits (5) - [`7088bdc`](https://github.com/hoppscotch/hoppscotch/commit/7088bdc578188913b0a4bee5e8b7a0bedc5c300d) fix(curl): fix import curl commane with data-urlencode - [`38b1ee5`](https://github.com/hoppscotch/hoppscotch/commit/38b1ee51e5a827a92a969ad97181f57530212b6e) fix(curl): add tests - [`3d06ff6`](https://github.com/hoppscotch/hoppscotch/commit/3d06ff6d2f4c19bdd64e18091fa753352c3ac07a) fix(curl): fix test - [`db4b22f`](https://github.com/hoppscotch/hoppscotch/commit/db4b22ff5df2f9d730fab6569f16121e4d6940ec) chore: refactor with fp-ts - [`ba8ce82`](https://github.com/hoppscotch/hoppscotch/commit/ba8ce82a88e67f49a2a313840986eca81889dcc2) refactor: use `decodeURIComponent` for decoding URL encoded data ### 📊 Changes **2 files changed** (+53 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/helpers/curl/__tests__/curlparser.spec.js` (+32 -0) 📝 `packages/hoppscotch-common/src/helpers/curl/curlparser.ts` (+21 -1) </details> ### 📄 Description <!-- If this pull request closes an issue, please mention the issue number below --> Closes #3901 ### Description - [ ] 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:06:23 +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#4582
No description provided.