Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-6192

Client Side Proxy CONNECT request is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Beryllium
    • Beryllium
    • iOS
    • Security Level: Public
    • None
    • 2

    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.
      

      Attachments

        Activity

          People

            pasin Pasin Suriyentrakorn
            pasin Pasin Suriyentrakorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty