[GH-ISSUE #1270] HTTP request fails with Internal Error 999 when url contains : with numbers after (ex :2014) #1265

Open
opened 2026-03-03 19:49:52 +03:00 by kerem · 4 comments
Owner

Originally created by @jose-a-rodrigues-alb on GitHub (Jun 27, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1270

Originally assigned to: @NghiaTranUIT on GitHub.

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.

Originally created by @jose-a-rodrigues-alb on GitHub (Jun 27, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1270 Originally assigned to: @NghiaTranUIT on GitHub. ### 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.
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 27, 2022):

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
<!-- gh-comment-id:1167422655 --> @NghiaTranUIT commented on GitHub (Jun 27, 2022): 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 ```
Author
Owner

@jose-a-rodrigues-alb commented on GitHub (Jun 27, 2022):

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.

<!-- gh-comment-id:1167609201 --> @jose-a-rodrigues-alb commented on GitHub (Jun 27, 2022): > 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.
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 28, 2022):

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

<!-- gh-comment-id:1168472229 --> @NghiaTranUIT commented on GitHub (Jun 28, 2022): @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 🙌
Author
Owner

@jose-a-rodrigues-alb commented on GitHub (Jun 28, 2022):

@NghiaTranUIT it works perfectly! Thank you.🙌

<!-- gh-comment-id:1168515308 --> @jose-a-rodrigues-alb commented on GitHub (Jun 28, 2022): @NghiaTranUIT it works perfectly! Thank you.🙌
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#1265
No description provided.