This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
AFNetworking 2.2.1
- Fix behavior of SSL pinning. In case of
validatesDomainName == YES
, it now explicitly usesSecPolicyCreateSSL
, which also validates the domain name. Otherwise,SecPolicyCreateBasicX509
is used.AFSSLPinningModeCertificate
now usesSecTrustSetAnchorCertificates
, which allows explicit specification of all trusted certificates. ForAFSSLPinningModePublicKey
, the number of trusted public keys determines if the server should be trusted. (Oliver Letterer, Eric Allam) - Fix
-Wsign-conversion
warning in AFURLConnectionOperation (Jesse Collis) - Fix
-Wshorten-64-to-32
warning (Jesse Collis) - Remove unnecessary #imports in
UIImageView
&UIWebView
categories (Jesse Collis) - Fix call to
CFStringTransform()
by checking return value before setting asUser-Agent
(Kevin Cassidy Jr) - Fix small documentation bug (@jkoepcke)
- Update
AFJSONResponseSerializer
adding@autorelease
to relieve memory pressure (Mattt Thompson, Michal Pietras) - Update
AFJSONRequestSerializer
to acceptid
(Daren Desjardins)