@see #1176100: http/https font loading for the original issue.

The following sub-modules can fail to load external libraries over SSL due to a typo in their preprocess function:

  • edge_fonts
  • fonts_com
  • google_fonts_api
  • typekit_api

To fix, replace:

$_SERVER['HTTPS'] == 'on'

with:

0 == strcasecmp($_SERVER['HTTPS'], 'on')

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hawkeye.twolf’s picture

Status: Active » Needs review
Issue tags: +Patch for review
FileSize
2.26 KB
hawkeye.twolf’s picture

Title: External loading path: Make SSL check case insensitive » Ignore case when checking $_SERVER['HTTPS'] to load external js
hawkeye.twolf’s picture

Issue summary: View changes

Updated case description.

hawkeye.twolf’s picture

Issue summary: View changes

Typo

SocialNicheGuru’s picture

Issue summary: View changes

this also solves an issue with aegir where Google fonts could not be downloaded as part of the install profile

Neslee Canil Pinto’s picture

Status: Needs review » Closed (outdated)