Description
Issues
CONNECT request sent to the client side proxy is failed.
Cause
The host:port of the CONNECT request becomes null. NSURL's URLWithString: function doesn't allow to create a NSURL object with only host and port anymore (there is a change in the behavior in iOS 17). This code hasn't been changed since when we support client side proxy.
Reference :
https://developer.apple.com/documentation/foundation/nsurl/1572047-urlwithstring?language=objc
For apps linked on or after iOS 17 and aligned OS versions, NSURL parsing has updated from the obsolete RFC 1738/1808 parsing to the same RFC 3986 parsing as NSURLComponents. This unifies the parsing behaviors of the NSURL and NSURLComponents APIs. Now, NSURL automatically percent- and IDNA-encodes invalid characters to help create a valid URL. |