Closed (fixed)
Project:
Typekit
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Mar 2011 at 14:30 UTC
Updated:
3 Jan 2014 at 02:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
robloachComment #2
zzolo commentedHi @Rob. Thanks for the code. I don't actually have a site with HTTPS easily available to test this. The code looks good, but is there anyone out there to confirm this?
Comment #3
robloachMichael Cooper pointed out that it should check to use http vs https via JavaScript instead, like how Google Analytics does it....
Comment #4
soyarma commentedWe're going to write this up for acquia.com in the next few days and submit it as a patch.
Comment #5
cwgordon7 commentedHere's a patch for doing it in JavaScript. To clarify, it's better to do it in JavaScript because Drupal might cache a page over http and serve it over https or vice-versa.
Comment #6
zzolo commentedDidnt really have time test, but committed:
http://drupalcode.org/project/typekit.git/commit/bcf9f2d
Comment #7
soyarma commentedThis is tested and in place on Acquia.com. As a note, you need the professional subscription with typekit for the css that the typekit js loads to also be served over https.
Comment #8
robloachThanks a lot for patchinating it, Charlie!