ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚑️
https://proxyman.io
5.72k stars 189 forks source link

Map Remote encode error #980

Open jackpoxy opened 3 years ago

jackpoxy commented 3 years ago

Proxyman version:Proxyman 2.31.0

macOS Version: mac 11.3

Screenshots (optional)

image Can I choice encode or not? image

NghiaTranUIT commented 3 years ago

Hey, thanks for the bug report. I'm not sure why Proxyman encodes this /, but not another part πŸ€” I will investigate it πŸ‘

To workaround, you can use this Snippet Code from Scripting Tool, to achieve the same thing as Map Remote doesn't. It might fix the bug πŸ‘

function onRequest(context, url, request) {
    request.scheme = "http";
    request.host = "localhost";
    request.port = 300;
    return request;
}
jackpoxy commented 3 years ago

Hi, I used the Scripting Tool, but I got the same question too. image

NghiaTranUIT commented 3 years ago

Thanks, not sure why URLComponent incorrectly parses your URL. I will check out this week and send you a Beta build πŸ‘

jackpoxy commented 3 years ago

Thanks, not sure why URLComponent incorrectly parses your URL. I will check out this week and send you a Beta build πŸ‘

OK,thanks:)

NghiaTranUIT commented 3 years ago

Hey @jackpoxy

If you turn off the Map Remote Tool, and enable the Scripting, Have you still encountered the bug? (Please ignore the console log)

I'm able to reproduce it by using Map Remote, but not the Scripting.

Here is my URL I tested: http://localhost:3000/api/git/api/v3/projects/TCE-Cmgt-Web-l18n%2FCLB-web.git/repository/branches?private_key=aaa

NghiaTranUIT commented 3 years ago

@jackpoxy Please try this Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.32.1_Fix_Percent_Encoded_in_Map_Remote.dmg

I fixed the percent-encoded issue on the Map Remote πŸ˜„

Please turn off the scripting and test it again.

Screen_Shot_2021-09-08_at_17_47_56
jackpoxy commented 3 years ago

Hey @jackpoxy

If you turn off the Map Remote Tool, and enable the Scripting, Have you still encountered the bug? (Please ignore the console log)

I'm able to reproduce it by using Map Remote, but not the Scripting.

Here is my URL I tested: http://localhost:3000/api/git/api/v3/projects/TCE-Cmgt-Web-l18n%2FCLB-web.git/repository/branches?private_key=aaa

Hey @NghiaTranUIT ,I try turn off the Map Remoto Tools, only use Scripting Tool. I think the encode is still work. image image image

jackpoxy commented 3 years ago

@jackpoxy Please try this Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.32.1_Fix_Percent_Encoded_in_Map_Remote.dmg

I fixed the percent-encoded issue on the Map Remote πŸ˜„

Please turn off the scripting and test it again.

Screen_Shot_2021-09-08_at_17_47_56

Hey @NghiaTranUIT I used this version, I think the bug is fixed, it's so quickly, thanks for your work :)

NghiaTranUIT commented 3 years ago

Glad to know it works @jackpoxy πŸ’―