Vlad Dekhanov
Vlad Dekhanov

Reputation: 1084

Mismatch protocol http and https

This issue occurs when the frame requesting access has a protocol of https, the frame being accessed has a protocol of http(toplevel, http://www.example.com/ particularly). how to get around this problem? Thanks for advance!

Upvotes: 1

Views: 2412

Answers (1)

Christopher Marshall
Christopher Marshall

Reputation: 10736

You could try to make it protocol agnostic if the frame supports either protocol. That way it'll choose the one being served.

E.g.

<img src="//www.placehold.it/250x250" />

Upvotes: 1

Related Questions