[GH-ISSUE #826] Fail to process the request with angle brackets in the parameters #821

Open
opened 2026-03-03 19:22:11 +03:00 by kerem · 5 comments
Owner

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)

image

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) ![image](https://user-images.githubusercontent.com/71948035/111851124-6213ba80-88cf-11eb-8074-607137eca428.png)
Author
Owner

@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

<!-- gh-comment-id:803191702 --> @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
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 19, 2021):

For instance, https://docs.proxyman.io/scripting/snippet-code

<!-- gh-comment-id:803192010 --> @NghiaTranUIT commented on GitHub (Mar 19, 2021): For instance, https://docs.proxyman.io/scripting/snippet-code
Author
Owner

@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

<!-- gh-comment-id:803194109 --> @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
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 19, 2021):

It’s a good idea, I will add this feature 👍

<!-- gh-comment-id:803194911 --> @NghiaTranUIT commented on GitHub (Mar 19, 2021): It’s a good idea, I will add this feature 👍
Author
Owner

@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 🙌

<!-- gh-comment-id:803235813 --> @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 🙌
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/Proxyman#821
No description provided.