-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// urls shouldn't get changed to http #16
Comments
From @JamborJan on November 28, 2016 15:0 What is missing here is a force https feature or something like this. I have the same issue for external content and I'm not sure how to solve it. When I use plugins or themes whcih use e.g. Google Fonts I get:
I guess Wordpress doesn't detect the fact that the page is https because Sandstorm works like reverse proxy here and inside the grain there is only an http connection from Sandstorm to the in-grain nginx server (or whatever you use inside the grain). The sad story is: I didn't find a solution so far and the sandstorm guys seem to be pretty busy with other stuff as this repo and the issues inside are not updated since months. |
From @ocdtrekkie on November 28, 2016 15:6 @JamborJan It's worth noting that when Sandstorm sandboxing is more complete, external content like Google Fonts is likely not going to work at all without some sort of permission grant by Sandstorm. |
From @JamborJan on November 28, 2016 15:27 There is a rather philosophical problem with that. Technical wise this might all be true, awesome and secure. But these things bring problems for a sane usage of the Sandstorm WorPress port. There will pretty often be issues with:
So yes, you could stick to the explanation you gave but this will cause that users will not use wordpress on sandstorm and the goal of sandstorm of providing easy to install apps fur none-tech users which work out of the box is gone. |
From @ocdtrekkie on November 28, 2016 15:31 All I'm indicating is that the problem needs to be more holistically addressed. I don't know if it's possible for Sandstorm to maybe detect external resources and replace them when it's common ones like jQuery or Google Fonts, or if there needs to be some flavor of Sandstorm driver for external content or something. |
From @JamborJan on January 16, 2017 6:57 I was able to always get an <?php
/* SSL Proxy */
$_SERVER['HTTPS']='on';
?> Unfortunately causes this the following Wordpress on Sandstorm bug for every single link: dwrensha/wordpress-sandstorm#15 So for now this is no work around but maybe soon. |
From @mrdomino on March 1, 2016 17:41
I wrote a post with a
script src="//some/url"
in it (specifically, an embedded tweet). In the published site, that became an http link. Since I'm static-publishing over https, that means it didn't resolve.Can't set up a wordpress instance to try to get a more complete report unfortunately, but hopefully that's a good start.
Acceptable alternatives would be to just point to https, or to preseve the //.
Copied from original issue: dwrensha/wordpress-sandstorm#22
The text was updated successfully, but these errors were encountered: