Closed EGoverde closed 4 years ago
Very valid request. I need to check if this is needed after the changes that are coming from the new implementation of the HttpClient from corfx. If that is the case, I'll implement the required change, else I'll write here why is not needed.
This is a feature request to expand the functionality of TrustOverride on iOS to allow for better SSL pinning based on the requested URL.
Steps to Reproduce
Expected Behavior
In the callback, it should be possible to check the URL that triggered it. This allows to check if the URL should match a given certificate or not. If it should, the certificate could be compared to another certificate and the request can then be allowed or disallowed.
Actual Behavior
Currently only information regarding the certificate is supplied to the callback, but no data about the NSUrlSession is supplied.
Suggestion
Environment