mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-27 00:55:57 +03:00
[GH-ISSUE #826] Fail to process the request with angle brackets in the parameters #821
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#821
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 @tylerw8bits on GitHub (Mar 19, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/826
Originally assigned to: @NghiaTranUIT on GitHub.
Proxyman version? (Ex. Proxyman 1.4.3)
2.20.0
macOS Version? (Ex. mac 10.14)
10.15.7 (19H15)
Steps to reproduce
Problem Description:
I set up some remote mapping rule, then I found out proxyman fails to process the remote mapping on requests when they include the angle brackets in the parameter.
Steps to reproduce:
For example, I setup the a mapping rule for directing google traffic to amazon (you can checkout the rule from the screenshot below)
When I entered "https://www.google.com/" in my browser, proxyman just redirects me to the amazon, and this is what I expected.
But when I entered "https://www.google.com/?test=[123]", which includes angle brackets in the request parameter, then proxyman fails to process the request and I just get a request from google back instead of amazon. Could someone please take a look at this issue?
By the way, I wonder if there are some errors happen during the request processing in postman, is there any place that I can see the log to debug? At first I thought this issue happened because I didn't setup the remote mapping correctly, and it issue took me quite a while to figure out...
Expected behavior
Screenshots (optional)
@NghiaTranUIT commented on GitHub (Mar 19, 2021):
Hey @tylerw8bits look like it’s a bug when parsing the [] in the query. I will fix it 👍
To work around, can you try Map remote with the Scripting tool? It’s super easy to setup
@NghiaTranUIT commented on GitHub (Mar 19, 2021):
For instance, https://docs.proxyman.io/scripting/snippet-code
@tylerw8bits commented on GitHub (Mar 19, 2021):
I have no problem of parsing request with angle brackets in the parameter via scripting on my end. Thanks for suggesting that!
But I still wonder if Proxyman has a debug tools for me to see the logging from the map remote
@NghiaTranUIT commented on GitHub (Mar 19, 2021):
It’s a good idea, I will add this feature 👍
@NghiaTranUIT commented on GitHub (Mar 20, 2021):
Hey @tylerw8bits let try this BETA build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.20.0_Fix_Map_Remote_Query_Brackets.dmg
I tested and it fixed your bug 🙌