Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

app transport security is blocking access to links that are not https schema #121

Open
ebalassanian opened this issue May 9, 2016 · 6 comments

Comments

@ebalassanian
Copy link

I don't know if there is a good fix for this. I tried adding in some code for google image search to drop links that are not https, but the results were poor at best. Thoughts?

@dzenbot
Copy link
Owner

dzenbot commented May 10, 2016

Is this documented somewhere, in Google's API?

@ebalassanian
Copy link
Author

I didn’t see anything. The thumbs that google returns are all hosted by gstatic and HTTPS secured. But the soureURLs are usually not.

On May 9, 2016, at 6:30 PM, Ignacio Romero Zurbuchen notifications@github.com wrote:

Is this documented somewhere, in Google's API?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #121 (comment)

@dzenbot
Copy link
Owner

dzenbot commented May 10, 2016

Not sure how to bypass this TBH. Maybe with NSURLProtocol proxying?

@ebalassanian
Copy link
Author

Sadly, online seach is quickly becoming too complex of a feature for my app :)

On May 9, 2016, at 6:39 PM, Ignacio Romero Zurbuchen notifications@github.com wrote:

Not sure how to bypass this TBH. Maybe with NSURLProtocol proxying?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #121 (comment)

@dzenbot
Copy link
Owner

dzenbot commented May 10, 2016

Google's API is unfortunately very wrong and unusable. Did you try Bing's instead?

@ebalassanian
Copy link
Author

I haven’t. But I’ll work on that next. If I get it working, I’ll submit a PR. i have a feeling Bing will have the same issue though. They are crawling websites that are not https secured so they will likely serve up images that app security will not accept.

On May 9, 2016, at 7:41 PM, Ignacio Romero Zurbuchen notifications@github.com wrote:

Google's API is unfortunately very wrong and unusable. Did you try Bing's instead?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #121 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants