My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 19: Load Google API over a secure connection
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Oct 2012


 
Reported by erik...@gmail.com, Oct 4, 2012
If the page is viewed over a secure connection (https), then the Google API should also be loaded over a secure connection. 

The documentation at <https://developers.google.com/loader/> recommends that the API is always loaded over a secure connection:
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
In this case, the patch is trivial (see attachment). 

Howevever, if speed is of paramount interest, one could instead check document.location.protocol and load the API over a secure connection only when necessary (by dynamically creating the script tag). 

gvis-https.patch
367 bytes   View   Download
Oct 9, 2012
Project Member #1 markus.g...@googlemail.com
Thanks Erik, I have change the code for the next package release.
Markus
Status: Fixed

Powered by Google Project Hosting