Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fonts are loaded over unsecure connection #82

Closed
robokow opened this issue Feb 13, 2015 · 3 comments
Closed

Fonts are loaded over unsecure connection #82

robokow opened this issue Feb 13, 2015 · 3 comments

Comments

@robokow
Copy link

robokow commented Feb 13, 2015

in head.html there is the following reference:

<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">

When website is loaded over secure connection fonts gets loaded over unsecure source

This can easily be solved by:

<link rel="stylesheet" href="//fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface"> 
@nickserv
Copy link

nickserv commented Mar 4, 2015

When I look at the usage for fonts on http://google.com/fonts, they always use http:// and not //. Is there a reason for this?

@chrylis
Copy link

chrylis commented Nov 12, 2015

Actually, the new recommendation is to use HTTPS unconditionally rather than fooling with protocol-relative URLs, which can occasionally interact oddly with non-HTTP pages (such as file:/).

@mdo
Copy link
Member

mdo commented Apr 4, 2020

Fix coming in #258.

@mdo mdo closed this as completed Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants