spree/spree — Issue #1161: Mixed content warning due to Google font URL
Author: eevee
Created: 2012-02-16 05:47:29+00:00
State: open

I'm (very forcibly) running the whole site via SSL, and Chrome/IE users get a mixed-content warning because of line 15 in spree/core/app/assets/stylesheets/store/screen.css.scss:

@import url(http://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic|&subset=latin,cyrillic,greek,greek-ext,latin-ext,cyrillic-ext);

`googleapis.com` works both with and without SSL, so changing the line to the following solves the problem:

@import url(//fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic|&subset=latin,cyrillic,greek,greek-ext,latin-ext,cyrillic-ext);