Kitura / SwiftyRequest

SwiftyRequest is an HTTP networking library built for Swift.
Apache License 2.0
110 stars 19 forks source link

problem in checking secure connection #45

Closed TheM4hd1 closed 5 years ago

TheM4hd1 commented 5 years ago

https://github.com/IBM-Swift/SwiftyRequest/blob/2bf11cdf775da7c39a8658100a8c66f12d759109/Sources/SwiftyRequest/RestRequest.swift#L185

It seems there's a mistake in checking https, any url that contains https will marked as secure even if a connection is not secure.

Ex. http://some-site-without-ssl/https-configuration.html

nethraravindran commented 5 years ago

Resolved in https://github.com/IBM-Swift/SwiftyRequest/pull/46

nethraravindran commented 5 years ago

Tagged https://github.com/IBM-Swift/SwiftyRequest/releases/tag/2.0.3 Closing this issue