I have enabled ssl for my site but get the following errors in my logs:
[blocked] The page at 'https://mysitetest.com/' was loaded over HTTPS, but ran insecure content from 'http://fonts.googleapis.com/css?family=Roboto:300,400,100,700,500': this content should also be loaded over HTTPS.
testgallery2.dev.socialnicheguru.com/:44
[blocked] The page at 'https://mysitetest.com/' was loaded over HTTPS, but ran insecure content from 'http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700': this content should also be loaded over HTTPS.
testgallery2.dev.socialnicheguru.com/:45
[blocked] The page at 'https://mysitetest.com/' was loaded over HTTPS, but ran insecure content from 'http://fonts.googleapis.com/css?family=Roboto+Slab:400,100,700': this content should also be loaded over HTTPS.
Remove 'http' in:
contrib/oa_core/modules/oa_home/plugins/content_types/oa_home_default.inc:28: drupal_add_css('http://fonts.googleapis.com/css?family=Roboto:300,400,100,700,500', array('type' => 'external'));
contrib/oa_core/modules/oa_home/plugins/content_types/oa_home_default.inc:29: drupal_add_css('http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700', array('type' => 'external'));
contrib/oa_core/modules/oa_home/plugins/content_types/oa_home_default.inc:30: drupal_add_css('http://fonts.googleapis.com/css?family=Roboto+Slab:400,100,700', array('type' => 'external'));
Per this url, http://stackoverflow.com/questions/18026809/google-web-fonts-on-https-pa...
Remove the protocol from your URL and let the browser determine it:
<link href="//fonts.googleapis.com/css?family=PT+Sans" ...
If your page is HTTPS, the font will be loaded from the HTTPS URL. If the page is HTTP, it'll be loaded from the HTTP URL.
Comments
Comment #1
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedComment #2
mpotter CreditAttribution: mpotter commentedI committed a variation of this to oa_core b4e2fa5. As we learned with the cdn for bootstrap_tour, just removing the protocol doesn't work in some cases when using the Secure Pages module. So instead, I took the same approach as in bootstrap_tour and fetched the protocol from the current Drupal base_url.
Re-open this issue if there is still a problem.