Conversation
won't **force** https into http anymore. it would trigger a warning in the console.
|
EDIT: Commented into wrong PR. Wondering why this was in there in the first place. What happens if I embed a chart via an https url but the Pageflow server does not support SSL for published entries? Is the default protocol then determined by the iframe src or by the parent document url? |
|
I didn't test to try, it could be interesting to know. I think embedding https on http is fine; it's the other way round that triggers warnings. Given that Datawrapper now defaults to https we should think about these things. Oh and also they put protocol-relative URL in the embedcode, which could be puzzling for an editor. Not saying we should allow protocol-relative URLs, but it is a source of confusion. |
|
This appears to be more complicated than I had expected: The I think, at the moment we do not accept https urls in the editor input, right? If Datawrapper provides https urls by default, that might well be worth a separate PR. |
Absolutely, they provide a protocol-relative URI right now: |
|
Hi Tim, If we leave out the protocol, the helper will reuse the protocol in use. So https will stay https, and http will stay http. I think this small change is good to go, we can see these assets in Chrome again. :) |
won't force https into http anymore.
it would trigger a warning in the console.