devedup / FlickrKit

An iOS Flickr Framework, written in Objective-C
http://www.devedup.com
219 stars 71 forks source link

Updated OAuth urls to https #27

Closed jeffbargmann closed 9 years ago

jeffbargmann commented 9 years ago

Flickr recently enabled Strict-Transport-Security (HSTS) on their backend, which transparently redirects http requests to https. As result, OAuth signatures from redirected calls will be invalid, as the base string from which they're generated still contains the string "http" rather than "https". This patch resolves this issue by pointing directly at https for OAuth.