Opened on 09/26/2017 at 12:18:55 AM
Closed on 09/27/2017 at 02:22:38 PM
#5783 closed defect (rejected)
Warning - 'stringByAddingPercentEscapesUsingEncoding:' is deprecated.
Reported by: | CraftyDeano | Assignee: | CraftyDeano |
---|---|---|---|
Priority: | Unknown | Milestone: | |
Module: | Adblock-Plus-for-iOS/macOS | Keywords: | |
Cc: | ashephard, dzhang | Blocked By: | |
Blocking: | Platform: | iOS | |
Ready: | no | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description
Building currently generates the following warning:
/adblockplussafariios/AdblockPlusSafari/NSString+AdblockPlus.m:43:24: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -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.
Will migrate away from the deprecated API to its successor.
Attachments (0)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Dupe of #5789