[GH-ISSUE #272] Duplicated query string in generated code #94

Closed
opened 2026-03-16 13:24:26 +03:00 by kerem · 1 comment
Owner

Originally created by @reefqi037 on GitHub (Nov 6, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/272

Describe the bug
The URL of generated code for each request type (JavaScript XHR, Fetch, cURL) contains duplicated value of query strings.

To Reproduce
Steps to reproduce the behavior:

  1. Add some Parameters
  2. Click on Show Code button
  3. See duplicated values of query string in the generated URL

Expected behavior
Query strings should be included only once

Screenshots
duplicate-qs
duplicate-qs-2
duplicate-qs-3

Originally created by @reefqi037 on GitHub (Nov 6, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/272 **Describe the bug** The URL of generated code for each request type (JavaScript XHR, Fetch, cURL) contains duplicated value of query strings. **To Reproduce** Steps to reproduce the behavior: 1. Add some ```Parameters``` 2. Click on ```Show Code``` button 3. See duplicated values of query string in the generated URL **Expected behavior** Query strings should be included only once **Screenshots** ![duplicate-qs](https://user-images.githubusercontent.com/44827833/68283676-51d6b300-00bf-11ea-8068-eb8a80df5738.PNG) ![duplicate-qs-2](https://user-images.githubusercontent.com/44827833/68283819-9b270280-00bf-11ea-834a-5189e3bc65c0.PNG) ![duplicate-qs-3](https://user-images.githubusercontent.com/44827833/68283827-9cf0c600-00bf-11ea-808b-b24710985ce3.PNG)
kerem closed this issue 2026-03-16 13:24:32 +03:00
Author
Owner

@reefqi037 commented on GitHub (Nov 6, 2019):

Related with #271

<!-- gh-comment-id:550214161 --> @reefqi037 commented on GitHub (Nov 6, 2019): Related with #271
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#94
No description provided.