When on a site that uses HTTPS there is an embeded google maps that uses the geofield_maps module
the site will responde sayingthe page contains insecure content.
As on the Google maps documentation (https://developers.google.com/maps/documentation/javascript/tutorial#Loa...)
it says that in this case you should use

<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&sensor=SET_TO_TRUE_OR_FALSE"
  type="text/javascript"></script>

instead of

<script src="http://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&sensor=SET_TO_TRUE_OR_FALSE"
  type="text/javascript"></script>
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

k_zoltan’s picture

FileSize
1.99 KB

Now here is a patch for that ... now this is for the version 1.x-dev but maybe I could do it for the 2.x version too

k_zoltan’s picture

FileSize
1.61 KB

Here is another try with the help of nod_
instead of trying to figure out if we are using HTTPS or not we use URI scheme http://en.wikipedia.org/wiki/URI_scheme

Brandonian’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

site log message update