mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #1151] [Bug] Copy as cURL doesn't correctly escape single quotes in query string #1146
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#1146
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 @gspiers on GitHub (Feb 18, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1151
Originally assigned to: @NghiaTranUIT on GitHub.
Proxyman version? (Ex. Proxyman 1.4.3)
3.1.0 (30100)
macOS Version? (Ex. mac 10.14)
12.2.1 (21D62)
Steps to reproduce
https://example.com/api/v0.4/paymentmethod?$skip=0&$filter=currency%20eq%20'USD'&$top=25(that was copied from the capture in Proxyman)Result:
Running the above will result in the URL being fetched without the single quotes. Copied URL as captured by Proxyman is
https://example.com/api/v0.4/paymentmethod?$skip=0&$filter=currency%20eq%20USD&$top=25Expected behavior
Single quotes should be escaped for the shell:
Thank you. Also wanted to say I really like Proxyman, very useful tool 👍
It's possible the software producing that query string should actually escape the single quote as
%27but I think the above should still work in any case.@NghiaTranUIT commented on GitHub (Feb 18, 2022):
Thanks. It's definitely a bug. I'm working on it and send you a beta asap 👍
@NghiaTranUIT commented on GitHub (Feb 18, 2022):
@gspiers please try this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.1.0_Fix_curl_with_single_quote.dmg
This build will escape the single quote 👍
@gspiers commented on GitHub (Feb 18, 2022):
@NghiaTranUIT Amazing! Just tried it and it works perfectly. You've got yourself a very happy customer 😀