Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83992

CFURLCreateStringByAddingPercentEscapes is deprecated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.15.0
    • Network: Proxies
    • None

    Description

      On Mac, we're getting this warning:

      qnetworkproxy_mac.cpp:231:50: warning: 'CFURLCreateStringByAddingPercentEscapes' is        
            deprecated: first deprecated in macOS 10.11 - Use [NSString stringByAddingPercentEncodingWithAllowedCharacters:] instead, which always    
            uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent (since each URL component or          
            subcomponent has different rules for what characters are valid). [-Wdeprecated-declarations]                                              
      

      Unfortunately, replacing the entire source code with Objective C++ so we can call the right function is beyond me.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes