Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

HTTP request fails with Internal Error 999 when url contains : with numbers after (ex :2014)

Open jose-a-rodrigues-alb opened this issue 2 years ago • 4 comments

Proxyman version?

Proxyman 3.6.0 (30600)

macOS Version? (Ex. mac 10.14)

mac 12.4

Steps to reproduce

Start proxyman and open a url that contains ":" with numbers after. For example: http://time.akamai.com/?http-iso:2014

Expected behaviour

Expect to see a 200 http response. However proxyman changes the request port to the last number after ":", 2014 in this case, the request fails with internal error 999.

If the request is made use https, the issue does not happen.

jose-a-rodrigues-alb avatar Jun 27 '22 14:06 jose-a-rodrigues-alb

Thanks. Look like Proxyman improperly pares the URL when it has the un-encoded colon :

To workaround, you can try:

http://time.akamai.com/?http-iso%3A2014

NghiaTranUIT avatar Jun 27 '22 14:06 NghiaTranUIT

Thanks. Look like Proxyman improperly pares the URL when it has the un-encoded colon :

To workaround, you can try:

http://time.akamai.com/?http-iso%3A2014

Yes, if the colon is encoded it works fine. For now i'm using a script to change the port back to 80 since i don't have control of all the url encoding's.

jose-a-rodrigues-alb avatar Jun 27 '22 16:06 jose-a-rodrigues-alb

@jose-a-rodrigues here is the beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.6.0_Fix_parsing_incorrect_port.dmg

I've refactored how Proxyman parses the Host & Port. I also fix your case 🙌

NghiaTranUIT avatar Jun 28 '22 09:06 NghiaTranUIT

@NghiaTranUIT it works perfectly! Thank you.🙌

jose-a-rodrigues-alb avatar Jun 28 '22 10:06 jose-a-rodrigues-alb