mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 08:35:53 +03:00
[GH-ISSUE #527] [BUG] Duplicate query keys are ignored when editing a request #526
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#526
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?
Originally created by @adietrichs on GitHub (Jun 18, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/527
Originally assigned to: @NghiaTranUIT on GitHub.
Proxyman version
2.0.1
Steps to reproduce
https://postman-echo.com/get?foo=bar1&foo=bar2bar1tobarhttps://postman-echo.com/get?foo=bar2, ignoring the (duplicate) firstfooparameterExpected behavior
URL should change to
https://postman-echo.com/get?foo=bar&foo=bar2.Duplicate keys are generally used to encode arrays, see e.g. this for context.
@NghiaTranUIT commented on GitHub (Jun 18, 2020):
Thanks. I'm looking on it now 👍
@NghiaTranUIT commented on GitHub (Jun 18, 2020):
Hey @adietrichs let try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.0.1_Fix_Duplicated_Query_Repeat_Tool.dmg
I used to use URLEncoding from Alamofire, and it accidentally removes the duplicated keys since it stores as a Dictionary. I fixed it 🙌
@adietrichs commented on GitHub (Jun 18, 2020):
I am really impressed by the quick response!
The fixed version looks good to me & works as expected.